projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f386c3c
)
m68knommu: add platform struct for ColdFire UART driver
author
Greg Ungerer
<
[email protected]
>
Wed, 24 Oct 2007 02:03:56 +0000
(12:03 +1000)
committer
Linus Torvalds
<
[email protected]
>
Wed, 24 Oct 2007 03:45:44 +0000
(20:45 -0700)
Add platform support structure for use with new ColdFire UART driver.
Signed-off-by: Greg Ungerer <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/asm-m68knommu/mcfuart.h
patch
|
blob
|
history
diff --git
a/include/asm-m68knommu/mcfuart.h
b/include/asm-m68knommu/mcfuart.h
index dc0146c5258b745bc3ebf094029626dfbf35eaaa..873d0805219ce7a635751df3367b87c2f773b07f 100644
(file)
--- a/
include/asm-m68knommu/mcfuart.h
+++ b/
include/asm-m68knommu/mcfuart.h
@@
-51,6
+51,16
@@
#endif
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+
+struct mcf_platform_uart {
+ unsigned long mapbase; /* Physical address base */
+ void __iomem *membase; /* Virtual address if mapped */
+ unsigned int irq; /* Interrupt vector */
+ unsigned int uartclk; /* UART clock rate */
+};
+
/*
* Define the ColdFire UART register set addresses.
*/