diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-03 18:46:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-03 18:46:37 -0400 |
commit | 39059cceeda478cd040d521b9541d1113035c908 (patch) | |
tree | 56adf04d6766a4346160aacd709468e5b2f1b879 /drivers/block | |
parent | b01b7dc2832a1a286ae84ffa3e940ce9f8e352c2 (diff) | |
parent | c2cdf6aba0dfcfb54be646ab630c1bccd180e890 (diff) |
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
powerpc/macio: Fix probing of macio devices by using the right of match table
agp/uninorth: Fix oops caused by flushing too much
powerpc/pasemi: Update MAINTAINERS file
powerpc/cell: Fix integer constant warning
powerpc/kprobes: Remove resume_execution() in kprobes
powerpc/macio: Don't dereference pointer before null check
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/swim3.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index 52f2d11bc7b9..ed6fb91123ab 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c | |||
@@ -1159,8 +1159,10 @@ static struct of_device_id swim3_match[] = | |||
1159 | 1159 | ||
1160 | static struct macio_driver swim3_driver = | 1160 | static struct macio_driver swim3_driver = |
1161 | { | 1161 | { |
1162 | .name = "swim3", | 1162 | .driver = { |
1163 | .match_table = swim3_match, | 1163 | .name = "swim3", |
1164 | .of_match_table = swim3_match, | ||
1165 | }, | ||
1164 | .probe = swim3_attach, | 1166 | .probe = swim3_attach, |
1165 | #if 0 | 1167 | #if 0 |
1166 | .suspend = swim3_suspend, | 1168 | .suspend = swim3_suspend, |