summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pl022.c
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2011-10-05 16:15:22 +0200
committerDave Martin <dave.martin@linaro.org>2011-11-22 11:58:32 +0100
commit7eeac71b9fc9b3de3e0dc24ef34180a0bc0eb2f9 (patch)
treedcacd42311dcfbde3bcbedcb98e86ff6eeb127be /drivers/spi/spi-pl022.c
parentrtc: pl031: Enable module alias autogeneration for AMBA drivers (diff)
downloadlinux-7eeac71b9fc9b3de3e0dc24ef34180a0bc0eb2f9.tar.xz
linux-7eeac71b9fc9b3de3e0dc24ef34180a0bc0eb2f9.zip
spi: pl022: Enable module alias autogeneration for AMBA drivers
Signed-off-by: Dave Martin <dave.martin@linaro.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/spi/spi-pl022.c')
-rw-r--r--drivers/spi/spi-pl022.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index f103e470cb63..43abaf22ec47 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",