Browse Source

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>
Dave Martin 13 years ago
parent
commit
955b678c03
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/gpio/gpio-pl061.c

+ 2 - 0
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",