Merge branch 'next/cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc
* 'next/cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc: (133 commits) ARM: EXYNOS4: Change devname for FIMD clkdev ARM: S3C64XX: Cleanup mach/regs-fb.h from mach-s3c64xx ARM: S5PV210: Cleanup mach/regs-fb.h from mach-s5pv210 ARM: S5PC100: Cleanup mach/regs-fb.h from mach-s5pc100 ARM: S3C24XX: Use generic s3c_set_platdata for devices ARM: S3C64XX: Use generic s3c_set_platdata for OneNAND ARM: SAMSUNG: Use generic s3c_set_platdata for NAND ARM: SAMSUNG: Use generic s3c_set_platdata for USB OHCI ARM: SAMSUNG: Use generic s3c_set_platdata for HWMON ARM: SAMSUNG: Use generic s3c_set_platdata for FB ARM: SAMSUNG: Use generic s3c_set_platdata for TS ARM: S3C64XX: Add PWM backlight support on SMDK6410 ARM: S5P64X0: Add PWM backlight support on SMDK6450 ARM: S5P64X0: Add PWM backlight support on SMDK6440 ARM: S5PC100: Add PWM backlight support on SMDKC100 ARM: S5PV210: Add PWM backlight support on SMDKV210 ARM: EXYNOS4: Add PWM backlight support on SMDKC210 ARM: EXYNOS4: Add PWM backlight support on SMDKV310 ARM: SAMSUNG: Create a common infrastructure for PWM backlight support clocksource: convert 32-bit down counting clocksource on S5PV210/S5P64X0 ... Fix up trivial conflict in arch/arm/mach-imx/mach-scb9328.c
This commit is contained in:
@@ -96,8 +96,6 @@ static struct platform_driver s3c2410_serial_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
s3c24xx_console_init(&s3c2410_serial_driver, &s3c2410_uart_inf);
|
||||
|
||||
static int __init s3c2410_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s3c2410_serial_driver, &s3c2410_uart_inf);
|
||||
|
||||
@@ -130,8 +130,6 @@ static struct platform_driver s3c2412_serial_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
s3c24xx_console_init(&s3c2412_serial_driver, &s3c2412_uart_inf);
|
||||
|
||||
static inline int s3c2412_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s3c2412_serial_driver, &s3c2412_uart_inf);
|
||||
|
||||
@@ -159,8 +159,6 @@ static struct platform_driver s3c2440_serial_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
s3c24xx_console_init(&s3c2440_serial_driver, &s3c2440_uart_inf);
|
||||
|
||||
static int __init s3c2440_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s3c2440_serial_driver, &s3c2440_uart_inf);
|
||||
|
||||
@@ -130,8 +130,6 @@ static struct platform_driver s3c6400_serial_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
s3c24xx_console_init(&s3c6400_serial_driver, &s3c6400_uart_inf);
|
||||
|
||||
static int __init s3c6400_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s3c6400_serial_driver, &s3c6400_uart_inf);
|
||||
|
||||
@@ -135,13 +135,6 @@ static struct platform_driver s5p_serial_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
static int __init s5pv210_serial_console_init(void)
|
||||
{
|
||||
return s3c24xx_serial_initconsole(&s5p_serial_driver, s5p_uart_inf);
|
||||
}
|
||||
|
||||
console_initcall(s5pv210_serial_console_init);
|
||||
|
||||
static int __init s5p_serial_init(void)
|
||||
{
|
||||
return s3c24xx_serial_init(&s5p_serial_driver, *s5p_uart_inf);
|
||||
|
||||
@@ -1416,10 +1416,8 @@ s3c24xx_serial_console_setup(struct console *co, char *options)
|
||||
|
||||
/* is the port configured? */
|
||||
|
||||
if (port->mapbase == 0x0) {
|
||||
co->index = 0;
|
||||
port = &s3c24xx_serial_ports[co->index].port;
|
||||
}
|
||||
if (port->mapbase == 0x0)
|
||||
return -ENODEV;
|
||||
|
||||
cons_uart = port;
|
||||
|
||||
@@ -1451,7 +1449,8 @@ static struct console s3c24xx_serial_console = {
|
||||
.flags = CON_PRINTBUFFER,
|
||||
.index = -1,
|
||||
.write = s3c24xx_serial_console_write,
|
||||
.setup = s3c24xx_serial_console_setup
|
||||
.setup = s3c24xx_serial_console_setup,
|
||||
.data = &s3c24xx_uart_drv,
|
||||
};
|
||||
|
||||
int s3c24xx_serial_initconsole(struct platform_driver *drv,
|
||||
|
||||
@@ -79,25 +79,6 @@ extern int s3c24xx_serial_initconsole(struct platform_driver *drv,
|
||||
extern int s3c24xx_serial_init(struct platform_driver *drv,
|
||||
struct s3c24xx_uart_info *info);
|
||||
|
||||
#ifdef CONFIG_SERIAL_SAMSUNG_CONSOLE
|
||||
|
||||
#define s3c24xx_console_init(__drv, __inf) \
|
||||
static int __init s3c_serial_console_init(void) \
|
||||
{ \
|
||||
struct s3c24xx_uart_info *uinfo[CONFIG_SERIAL_SAMSUNG_UARTS]; \
|
||||
int i; \
|
||||
\
|
||||
for (i = 0; i < CONFIG_SERIAL_SAMSUNG_UARTS; i++) \
|
||||
uinfo[i] = __inf; \
|
||||
return s3c24xx_serial_initconsole(__drv, uinfo); \
|
||||
} \
|
||||
\
|
||||
console_initcall(s3c_serial_console_init)
|
||||
|
||||
#else
|
||||
#define s3c24xx_console_init(drv, inf) extern void no_console(void)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SERIAL_SAMSUNG_DEBUG
|
||||
|
||||
extern void printascii(const char *);
|
||||
|
||||
Reference in New Issue
Block a user