block: swim3: fix unterminated of_device_id table
PATCH 1/1 block: swim3: fix unterminated of_device_id table
of_device_id structures need a NULL terminating entry, add it.
Signed-off-by Axel Lin <[email protected]>
--- drivers/block/swim3.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/block/swim3.c +1 -0
@@ -1184,6 +1184,7 @@ static struct of_device_id swim3_match[] = { .compatible = "swim3" }, + {/* end of list */ } }; static struct macio_driver swim3_driver =
Signature · 1 line
1.7.4.1
Quoted 1 line · Axel Lin
of_device_idstructures need a NULL terminating entry, add it.
Thanks, added.
Signature · 1 line
Jens Axboe