Skip to contentSkip to conversation

block: swim3: fix unterminated of_device_id table

PATCH In review Axel Lin 2 participants 2 messages Aug 3, 2011 Block layer

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 block: swim3: fix unterminated of_device_id table

of_device_id structures need a NULL terminating entry, add it.

---
 drivers/block/swim3.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/block/swim3.c +1 -0
index 773bfa7..ae3e167 100644
@@ -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
#1 lore raw
Quoted 1 line · Axel Lin

of_device_id structures need a NULL terminating entry, add it.

Thanks, added.

Signature · 1 line
Jens Axboe