Forráskód Böngészése

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 14 éve
szülő
commit
f41c53a569
1 módosított fájl, 1 hozzáadás és 0 törlés
  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 =