[PATCH] block: swim3: fix unterminated of_device_id table

From: Axel Lin
Date: Wed Aug 03 2011 - 07:47:57 EST


of_device_id structures need a NULL terminating entry, add it.

Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
---
drivers/block/swim3.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c
index 773bfa7..ae3e167 100644
--- a/drivers/block/swim3.c
+++ b/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 =
--
1.7.4.1



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/