[PATCH v2 07/12] OMAP: Serial: Allow UART parameters to be configured from board file

Tony Lindgren tony at atomide.com
Wed May 4 05:55:46 EDT 2011


* Govindraj.R <govindraj.raja at ti.com> [110429 05:39]:
> @@ -250,7 +251,7 @@ static void __init omap_2430sdp_init(void)
>  	omap2430_i2c_init();
>  
>  	platform_add_devices(sdp2430_devices, ARRAY_SIZE(sdp2430_devices));
> -	omap_serial_init();
> +	omap_serial_init(NULL);
>  	omap2_hsmmc_init(mmc);
>  	omap2_usbfs_init(&sdp2430_usb_config);
...
  
>  static inline void board_serial_init(void)
>  {
> -	omap_serial_init();
> +	omap_serial_init(NULL);
>  }

This change seems like "crazy churn" and probably not needed
if it's always null. Boards using platform_data can use
omap_serial_init_port instead, right?  

Tony



More information about the linux-arm-kernel mailing list