mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Merge branch 'master' into devel
This commit is contained in:
commit
87d721ad7a
908 changed files with 12536 additions and 7059 deletions
|
|
@ -527,7 +527,7 @@ config SERIAL_S3C24A0
|
|||
|
||||
config SERIAL_S3C6400
|
||||
tristate "Samsung S3C6400/S3C6410 Serial port support"
|
||||
depends on SERIAL_SAMSUNG && (CPU_S3C600 || CPU_S3C6410)
|
||||
depends on SERIAL_SAMSUNG && (CPU_S3C6400 || CPU_S3C6410)
|
||||
default y
|
||||
help
|
||||
Serial port support for the Samsung S3C6400 and S3C6410
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ static int s3c2400_serial_probe(struct platform_device *dev)
|
|||
return s3c24xx_serial_probe(dev, &s3c2400_uart_inf);
|
||||
}
|
||||
|
||||
static struct platform_driver s3c2400_serial_drv = {
|
||||
static struct platform_driver s3c2400_serial_driver = {
|
||||
.probe = s3c2400_serial_probe,
|
||||
.remove = __devexit_p(s3c24xx_serial_remove),
|
||||
.driver = {
|
||||
|
|
@ -85,16 +85,16 @@ static struct platform_driver s3c2400_serial_drv = {
|
|||
},
|
||||
};
|
||||
|
||||
s3c24xx_console_init(&s3c2400_serial_drv, &s3c2400_uart_inf);
|
||||
s3c24xx_console_init(&s3c2400_serial_driver, &s3c2400_uart_inf);
|
||||
|
||||
static inline int s3c2400_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s3c2400_serial_drv, &s3c2400_uart_inf);
|
||||
return s3c24xx_serial_init(&s3c2400_serial_driver, &s3c2400_uart_inf);
|
||||
}
|
||||
|
||||
static inline void s3c2400_serial_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&s3c2400_serial_drv);
|
||||
platform_driver_unregister(&s3c2400_serial_driver);
|
||||
}
|
||||
|
||||
module_init(s3c2400_serial_init);
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ static int s3c2410_serial_probe(struct platform_device *dev)
|
|||
return s3c24xx_serial_probe(dev, &s3c2410_uart_inf);
|
||||
}
|
||||
|
||||
static struct platform_driver s3c2410_serial_drv = {
|
||||
static struct platform_driver s3c2410_serial_driver = {
|
||||
.probe = s3c2410_serial_probe,
|
||||
.remove = __devexit_p(s3c24xx_serial_remove),
|
||||
.driver = {
|
||||
|
|
@ -97,16 +97,16 @@ static struct platform_driver s3c2410_serial_drv = {
|
|||
},
|
||||
};
|
||||
|
||||
s3c24xx_console_init(&s3c2410_serial_drv, &s3c2410_uart_inf);
|
||||
s3c24xx_console_init(&s3c2410_serial_driver, &s3c2410_uart_inf);
|
||||
|
||||
static int __init s3c2410_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s3c2410_serial_drv, &s3c2410_uart_inf);
|
||||
return s3c24xx_serial_init(&s3c2410_serial_driver, &s3c2410_uart_inf);
|
||||
}
|
||||
|
||||
static void __exit s3c2410_serial_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&s3c2410_serial_drv);
|
||||
platform_driver_unregister(&s3c2410_serial_driver);
|
||||
}
|
||||
|
||||
module_init(s3c2410_serial_init);
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ static int s3c2412_serial_probe(struct platform_device *dev)
|
|||
return s3c24xx_serial_probe(dev, &s3c2412_uart_inf);
|
||||
}
|
||||
|
||||
static struct platform_driver s3c2412_serial_drv = {
|
||||
static struct platform_driver s3c2412_serial_driver = {
|
||||
.probe = s3c2412_serial_probe,
|
||||
.remove = __devexit_p(s3c24xx_serial_remove),
|
||||
.driver = {
|
||||
|
|
@ -130,16 +130,16 @@ static struct platform_driver s3c2412_serial_drv = {
|
|||
},
|
||||
};
|
||||
|
||||
s3c24xx_console_init(&s3c2412_serial_drv, &s3c2412_uart_inf);
|
||||
s3c24xx_console_init(&s3c2412_serial_driver, &s3c2412_uart_inf);
|
||||
|
||||
static inline int s3c2412_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s3c2412_serial_drv, &s3c2412_uart_inf);
|
||||
return s3c24xx_serial_init(&s3c2412_serial_driver, &s3c2412_uart_inf);
|
||||
}
|
||||
|
||||
static inline void s3c2412_serial_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&s3c2412_serial_drv);
|
||||
platform_driver_unregister(&s3c2412_serial_driver);
|
||||
}
|
||||
|
||||
module_init(s3c2412_serial_init);
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ static int s3c2440_serial_probe(struct platform_device *dev)
|
|||
return s3c24xx_serial_probe(dev, &s3c2440_uart_inf);
|
||||
}
|
||||
|
||||
static struct platform_driver s3c2440_serial_drv = {
|
||||
static struct platform_driver s3c2440_serial_driver = {
|
||||
.probe = s3c2440_serial_probe,
|
||||
.remove = __devexit_p(s3c24xx_serial_remove),
|
||||
.driver = {
|
||||
|
|
@ -160,16 +160,16 @@ static struct platform_driver s3c2440_serial_drv = {
|
|||
},
|
||||
};
|
||||
|
||||
s3c24xx_console_init(&s3c2440_serial_drv, &s3c2440_uart_inf);
|
||||
s3c24xx_console_init(&s3c2440_serial_driver, &s3c2440_uart_inf);
|
||||
|
||||
static int __init s3c2440_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s3c2440_serial_drv, &s3c2440_uart_inf);
|
||||
return s3c24xx_serial_init(&s3c2440_serial_driver, &s3c2440_uart_inf);
|
||||
}
|
||||
|
||||
static void __exit s3c2440_serial_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&s3c2440_serial_drv);
|
||||
platform_driver_unregister(&s3c2440_serial_driver);
|
||||
}
|
||||
|
||||
module_init(s3c2440_serial_init);
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ static int s3c24a0_serial_probe(struct platform_device *dev)
|
|||
return s3c24xx_serial_probe(dev, &s3c24a0_uart_inf);
|
||||
}
|
||||
|
||||
static struct platform_driver s3c24a0_serial_drv = {
|
||||
static struct platform_driver s3c24a0_serial_driver = {
|
||||
.probe = s3c24a0_serial_probe,
|
||||
.remove = __devexit_p(s3c24xx_serial_remove),
|
||||
.driver = {
|
||||
|
|
@ -101,16 +101,16 @@ static struct platform_driver s3c24a0_serial_drv = {
|
|||
},
|
||||
};
|
||||
|
||||
s3c24xx_console_init(&s3c24a0_serial_drv, &s3c24a0_uart_inf);
|
||||
s3c24xx_console_init(&s3c24a0_serial_driver, &s3c24a0_uart_inf);
|
||||
|
||||
static int __init s3c24a0_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s3c24a0_serial_drv, &s3c24a0_uart_inf);
|
||||
return s3c24xx_serial_init(&s3c24a0_serial_driver, &s3c24a0_uart_inf);
|
||||
}
|
||||
|
||||
static void __exit s3c24a0_serial_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&s3c24a0_serial_drv);
|
||||
platform_driver_unregister(&s3c24a0_serial_driver);
|
||||
}
|
||||
|
||||
module_init(s3c24a0_serial_init);
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ static int s3c6400_serial_probe(struct platform_device *dev)
|
|||
return s3c24xx_serial_probe(dev, &s3c6400_uart_inf);
|
||||
}
|
||||
|
||||
static struct platform_driver s3c6400_serial_drv = {
|
||||
static struct platform_driver s3c6400_serial_driver = {
|
||||
.probe = s3c6400_serial_probe,
|
||||
.remove = __devexit_p(s3c24xx_serial_remove),
|
||||
.driver = {
|
||||
|
|
@ -131,16 +131,16 @@ static struct platform_driver s3c6400_serial_drv = {
|
|||
},
|
||||
};
|
||||
|
||||
s3c24xx_console_init(&s3c6400_serial_drv, &s3c6400_uart_inf);
|
||||
s3c24xx_console_init(&s3c6400_serial_driver, &s3c6400_uart_inf);
|
||||
|
||||
static int __init s3c6400_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s3c6400_serial_drv, &s3c6400_uart_inf);
|
||||
return s3c24xx_serial_init(&s3c6400_serial_driver, &s3c6400_uart_inf);
|
||||
}
|
||||
|
||||
static void __exit s3c6400_serial_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&s3c6400_serial_drv);
|
||||
platform_driver_unregister(&s3c6400_serial_driver);
|
||||
}
|
||||
|
||||
module_init(s3c6400_serial_init);
|
||||
|
|
|
|||
|
|
@ -110,7 +110,11 @@ static struct console ks8695_console;
|
|||
static void ks8695uart_stop_tx(struct uart_port *port)
|
||||
{
|
||||
if (tx_enabled(port)) {
|
||||
disable_irq(KS8695_IRQ_UART_TX);
|
||||
/* use disable_irq_nosync() and not disable_irq() to avoid self
|
||||
* imposed deadlock by not waiting for irq handler to end,
|
||||
* since this ks8695uart_stop_tx() is called from interrupt context.
|
||||
*/
|
||||
disable_irq_nosync(KS8695_IRQ_UART_TX);
|
||||
tx_enable(port, 0);
|
||||
}
|
||||
}
|
||||
|
|
@ -549,7 +553,7 @@ static struct uart_port ks8695uart_ports[SERIAL_KS8695_NR] = {
|
|||
.mapbase = KS8695_UART_VA,
|
||||
.iotype = SERIAL_IO_MEM,
|
||||
.irq = KS8695_IRQ_UART_TX,
|
||||
.uartclk = CLOCK_TICK_RATE * 16,
|
||||
.uartclk = KS8695_CLOCK_RATE * 16,
|
||||
.fifosize = 16,
|
||||
.ops = &ks8695uart_pops,
|
||||
.flags = ASYNC_BOOT_AUTOCONF,
|
||||
|
|
|
|||
Loading…
Reference in a new issue