# \[PATCH 08/12\] of\_serial: use linux/of\_platform.h instead of asm

- From: Stephen Rothwell \<hidden\>
- Date: 2008-05-23 06:43:20 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2008/05/9440445
- Thread: https://ratatoskr.run/linuxppc-dev/2008/05/9440438/t.md

```text

Signed-off-by: Stephen Rothwell <redacted>
---
 drivers/serial/of_serial.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/serial/of_serial.c b/drivers/serial/of_serial.c
index 25029c7..8fa0ff5 100644
--- a/drivers/serial/of_serial.c
+++ b/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 {
-- 
1.5.5.1

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
```
