[PATCH v2 01/17] ARM: clps711x: Load serial driver from boards

Arnd Bergmann arnd at arndb.de
Mon Nov 12 11:15:52 EST 2012


> diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c
> index a0a6db5..06f0e91 100644
> --- a/drivers/tty/serial/clps711x.c
> +++ b/drivers/tty/serial/clps711x.c
> @@ -516,22 +516,6 @@ static struct platform_driver clps711x_uart_driver = {
>  };
>  module_platform_driver(clps711x_uart_driver);
>  
> -static struct platform_device clps711x_uart_device = {
> -	.name	= UART_CLPS711X_NAME,
> -};
> -
> -static int __init uart_clps711x_init(void)
> -{
> -	return platform_device_register(&clps711x_uart_device);
> -}
> -module_init(uart_clps711x_init);
> -
> -static void __exit uart_clps711x_exit(void)
> -{
> -	platform_device_unregister(&clps711x_uart_device);
> -}
> -module_exit(uart_clps711x_exit);
> -
>  MODULE_AUTHOR("Deep Blue Solutions Ltd");
>  MODULE_DESCRIPTION("CLPS711X serial driver");
>  MODULE_LICENSE("GPL");

This does not apply. It seems this depends on a patch that is in Greg's tree
but not in the arm-soc tree. I've tried applying the other patches without
this one, but failed.

I've also tried leaving out this one hunk to see if everything else works,
but found another bug in patch 12.

Giving up for now. Please resend a series that actually applies and builds
on a well-defined base.

	Arnd



More information about the linux-arm-kernel mailing list