summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-08-03 15:02:55 +0200
committerJens Axboe <jaxboe@fusionio.com>2011-08-03 15:02:55 +0200
commitf41c53a569c4cf0556893ec9cfcf697d069799e1 (patch)
treee5ee3810301fe3c91e9a1f395028dda6e230d3f8 /drivers/block
parentblock/genhd.c: remove useless cast in diskstats_show() (diff)
downloadlinux-f41c53a569c4cf0556893ec9cfcf697d069799e1.tar.xz
linux-f41c53a569c4cf0556893ec9cfcf697d069799e1.zip
block: swim3: fix unterminated of_device_id table
of_device_id structures need a NULL terminating entry, add it. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/swim3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c
index 773bfa792777..ae3e167e17ad 100644
--- a/drivers/block/swim3.c
+++ b/drivers/block/swim3.c
@@ -1184,6 +1184,7 @@ static struct of_device_id swim3_match[] =
{
.compatible = "swim3"
},
+ { /* end of list */ }
};
static struct macio_driver swim3_driver =