summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pl061.c
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2011-10-05 15:15:21 +0100
committerDave Martin <dave.martin@linaro.org>2011-11-22 10:58:31 +0000
commit955b678c03645117c4ad5e52c9946a25e3ca3199 (patch)
treea7c8cdb60214ef8cabd5d6a400d9c0dd923523e8 /drivers/gpio/gpio-pl061.c
parente8fa516a4231682204d646df01c7bf3f0cfe4893 (diff)
downloadlinux-955b678c03645117c4ad5e52c9946a25e3ca3199.tar.gz
linux-955b678c03645117c4ad5e52c9946a25e3ca3199.tar.bz2
linux-955b678c03645117c4ad5e52c9946a25e3ca3199.zip
gpio: pl061: Enable module alias autogeneration for AMBA drivers
Signed-off-by: Dave Martin <dave.martin@linaro.org> Acked-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/gpio-pl061.c')
-rw-r--r--drivers/gpio/gpio-pl061.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c
index 093c90bd3c1d..8efc3dd1286f 100644
--- a/drivers/gpio/gpio-pl061.c
+++ b/drivers/gpio/gpio-pl061.c
@@ -350,6 +350,8 @@ static struct amba_id pl061_ids[] = {
{ 0, 0 },
};
+MODULE_DEVICE_TABLE(amba, pl061_ids);
+
static struct amba_driver pl061_gpio_driver = {
.drv = {
.name = "pl061_gpio",