diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-09 13:34:08 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-12-01 09:02:55 +0800 |
commit | cc155c6f2cc705cb082ed676044368424e4b9121 (patch) | |
tree | fdeeaaa4fe44d4a156249648f8ca77d7c68c8e20 /arch/arm/mach-pxa/generic.h | |
parent | 7c6ccbf0ddce6d5a1e13e7f50befd864f289e108 (diff) | |
download | op-kernel-dev-cc155c6f2cc705cb082ed676044368424e4b9121.zip op-kernel-dev-cc155c6f2cc705cb082ed676044368424e4b9121.tar.gz |
[ARM] pxa: allow platforms to control which uarts are registered
For some platforms, it is inappropriate to register all PXA UARTs.
In some cases, the UARTs may not be used, and in others we may want
to avoid registering the UARTs to allow other drivers (eg, FICP) to
make use of the UART.
In addition, a while back there was a request to be able to pass
platform data to the UART driver.
This patch enables all of this by providing functions platforms can
call to register each individual UART.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/generic.h')
-rw-r--r-- | arch/arm/mach-pxa/generic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/generic.h b/arch/arm/mach-pxa/generic.h index 485fede..890fb90 100644 --- a/arch/arm/mach-pxa/generic.h +++ b/arch/arm/mach-pxa/generic.h @@ -67,3 +67,8 @@ extern struct sysdev_class pxa_irq_sysclass; extern struct sysdev_class pxa_gpio_sysclass; extern struct sysdev_class pxa2xx_mfp_sysclass; extern struct sysdev_class pxa3xx_mfp_sysclass; + +void __init pxa_set_ffuart_info(void *info); +void __init pxa_set_btuart_info(void *info); +void __init pxa_set_stuart_info(void *info); +void __init pxa_set_hwuart_info(void *info); |