Browse Source

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

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