mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge master.kernel.org:/home/rmk/linux-2.6-arm
This commit is contained in:
commit
eb1b74e097
10 changed files with 129 additions and 16 deletions
|
|
@ -564,6 +564,7 @@ static int s3c2410_rtc_resume(struct device *dev, u32 level)
|
|||
|
||||
static struct device_driver s3c2410_rtcdrv = {
|
||||
.name = "s3c2410-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.bus = &platform_bus_type,
|
||||
.probe = s3c2410_rtc_probe,
|
||||
.remove = s3c2410_rtc_remove,
|
||||
|
|
|
|||
|
|
@ -383,11 +383,11 @@ static int imx_startup(struct uart_port *port)
|
|||
*/
|
||||
retval = request_irq(sport->rxirq, imx_rxint, 0,
|
||||
DRIVER_NAME, sport);
|
||||
if (retval) goto error_out2;
|
||||
if (retval) goto error_out1;
|
||||
|
||||
retval = request_irq(sport->txirq, imx_txint, 0,
|
||||
"imx-uart", sport);
|
||||
if (retval) goto error_out1;
|
||||
if (retval) goto error_out2;
|
||||
|
||||
/*
|
||||
* Finally, clear and enable interrupts
|
||||
|
|
@ -406,10 +406,9 @@ static int imx_startup(struct uart_port *port)
|
|||
|
||||
return 0;
|
||||
|
||||
error_out1:
|
||||
free_irq(sport->rxirq, sport);
|
||||
error_out2:
|
||||
free_irq(sport->txirq, sport);
|
||||
free_irq(sport->rxirq, sport);
|
||||
error_out1:
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1235,6 +1235,7 @@ static int s3c2400_serial_probe(struct device *dev)
|
|||
|
||||
static struct device_driver s3c2400_serial_drv = {
|
||||
.name = "s3c2400-uart",
|
||||
.owner = THIS_MODULE,
|
||||
.bus = &platform_bus_type,
|
||||
.probe = s3c2400_serial_probe,
|
||||
.remove = s3c24xx_serial_remove,
|
||||
|
|
@ -1338,6 +1339,7 @@ static int s3c2410_serial_probe(struct device *dev)
|
|||
|
||||
static struct device_driver s3c2410_serial_drv = {
|
||||
.name = "s3c2410-uart",
|
||||
.owner = THIS_MODULE,
|
||||
.bus = &platform_bus_type,
|
||||
.probe = s3c2410_serial_probe,
|
||||
.remove = s3c24xx_serial_remove,
|
||||
|
|
@ -1499,6 +1501,7 @@ static int s3c2440_serial_probe(struct device *dev)
|
|||
|
||||
static struct device_driver s3c2440_serial_drv = {
|
||||
.name = "s3c2440-uart",
|
||||
.owner = THIS_MODULE,
|
||||
.bus = &platform_bus_type,
|
||||
.probe = s3c2440_serial_probe,
|
||||
.remove = s3c24xx_serial_remove,
|
||||
|
|
|
|||
Loading…
Reference in a new issue