浏览代码

of_serial: Use linux/of_platform.h instead of asm

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Stephen Rothwell 17 年之前
父节点
当前提交
c401b04456
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/serial/of_serial.c

+ 1 - 1
drivers/serial/of_serial.c

@@ -13,8 +13,8 @@
 #include <linux/module.h>
 #include <linux/serial_core.h>
 #include <linux/serial_8250.h>
+#include <linux/of_platform.h>
 
-#include <asm/of_platform.h>
 #include <asm/prom.h>
 
 struct of_serial_info {