[PATCH] MXS DMA: add end of list sentinel to platform_id list
Lothar Waßmann
LW at KARO-electronics.de
Thu Apr 21 05:22:31 EDT 2011
Signed-off-by: Lothar WaÃmann <LW at KARO-electronics.de>
---
drivers/dma/mxs-dma.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c
index e25209b..5b9b66a 100644
--- a/drivers/dma/mxs-dma.c
+++ b/drivers/dma/mxs-dma.c
@@ -737,7 +737,8 @@ static struct platform_device_id mxs_dma_type[] = {
}, {
.name = "mxs-dma-apbx",
.driver_data = MXS_DMA_APBX,
- }
+ },
+ { /* end of list marker */ }
};
static struct platform_driver mxs_dma_driver = {
--
1.5.6.5
More information about the linux-arm-kernel
mailing list