Browse Source

serial: pl010: Enable module alias autogeneration for AMBA drivers

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Dave Martin 13 years ago
parent
commit
a664a119c0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/tty/serial/amba-pl010.c

+ 2 - 0
drivers/tty/serial/amba-pl010.c

@@ -795,6 +795,8 @@ static struct amba_id pl010_ids[] = {
 	{ 0, 0 },
 };
 
+MODULE_DEVICE_TABLE(amba, pl010_ids);
+
 static struct amba_driver pl010_driver = {
 	.drv = {
 		.name	= "uart-pl010",