Browse Source

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 years ago
parent
commit
f41c53a569
1 changed files with 1 additions and 0 deletions
  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"
 	.compatible	= "swim3"
 	},
 	},
+	{ /* end of list */ }
 };
 };
 
 
 static struct macio_driver swim3_driver =
 static struct macio_driver swim3_driver =