瀏覽代碼

serial: pl010: Enable module alias autogeneration for AMBA drivers

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Dave Martin 14 年之前
父節點
當前提交
a664a119c0
共有 1 個文件被更改,包括 2 次插入0 次删除
  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 },
 	{ 0, 0 },
 };
 };
 
 
+MODULE_DEVICE_TABLE(amba, pl010_ids);
+
 static struct amba_driver pl010_driver = {
 static struct amba_driver pl010_driver = {
 	.drv = {
 	.drv = {
 		.name	= "uart-pl010",
 		.name	= "uart-pl010",