summaryrefslogtreecommitdiff
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
parentf95fe9cfb49f6e625fbb5888cae2ed6f3a276b89 (diff)
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>
-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 =