[PATCH 11/16] spi: pl022: Enable module alias autogeneration for AMBA drivers

Dave Martin dave.martin at linaro.org
Wed Oct 5 12:05:02 EDT 2011


Signed-off-by: Dave Martin <dave.martin at linaro.org>
---
 drivers/spi/spi-pl022.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index f103e470..43abaf2 100644
--- a/drivers/spi/spi-pl022.c
+++ b/drivers/spi/spi-pl022.c
@@ -2424,6 +2424,8 @@ static struct amba_id pl022_ids[] = {
 	{ 0, 0 },
 };
 
+MODULE_DEVICE_TABLE(amba, pl022_ids);
+
 static struct amba_driver pl022_driver = {
 	.drv = {
 		.name	= "ssp-pl022",
-- 
1.7.4.1




More information about the linux-arm-kernel mailing list