Explorar o código

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>
Axel Lin %!s(int64=14) %!d(string=hai) anos
pai
achega
f41c53a569
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/block/swim3.c

+ 1 - 0
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 =