diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-08-03 09:02:55 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-08-03 09:02:55 -0400 |
commit | f41c53a569c4cf0556893ec9cfcf697d069799e1 (patch) | |
tree | e5ee3810301fe3c91e9a1f395028dda6e230d3f8 /drivers/block | |
parent | f95fe9cfb49f6e625fbb5888cae2ed6f3a276b89 (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>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/swim3.c | 1 |
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[] = | |||
1184 | { | 1184 | { |
1185 | .compatible = "swim3" | 1185 | .compatible = "swim3" |
1186 | }, | 1186 | }, |
1187 | { /* end of list */ } | ||
1187 | }; | 1188 | }; |
1188 | 1189 | ||
1189 | static struct macio_driver swim3_driver = | 1190 | static struct macio_driver swim3_driver = |