@@ -206,7 +206,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_allports();
omap2_hsmmc_init(mmc);
usb_musb_init(&musb_board_data);
board_smc91x_init();
@@ -799,7 +799,7 @@ static void __init omap_3430sdp_init(void)
spi_register_board_info(sdp3430_spi_board_info,
ARRAY_SIZE(sdp3430_spi_board_info));
ads7846_dev_init();
- omap_serial_init();
+ omap_serial_init_allports();
usb_musb_init(&musb_board_data);
board_smc91x_init();
sdp_flash_init(sdp_flash_partitions);
@@ -84,7 +84,7 @@ static struct omap_musb_board_data musb_board_data = {
static void __init omap_4430sdp_init(void)
{
platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices));
- omap_serial_init();
+ omap_serial_init_allports();
/* OMAP4 SDP uses internal transceiver so register nop transceiver */
usb_nop_xceiv_register();
/* FIXME: allow multi-omap to boot until musb is updated for omap4 */
@@ -300,7 +300,7 @@ static void __init am3517_evm_init(void)
platform_add_devices(am3517_evm_devices,
ARRAY_SIZE(am3517_evm_devices));
- omap_serial_init();
+ omap_serial_init_allports();
usb_ehci_init(&ehci_pdata);
/* DSS */
am3517_evm_display_init();
@@ -331,7 +331,7 @@ static void __init omap_apollon_init(void)
* if not needed.
*/
platform_add_devices(apollon_devices, ARRAY_SIZE(apollon_devices));
- omap_serial_init();
+ omap_serial_init_allports();
}
static void __init omap_apollon_map_io(void)
@@ -820,7 +820,7 @@ static struct omap_musb_board_data musb_board_data = {
static void __init cm_t35_init(void)
{
omap3_mux_init(board_mux, OMAP_PACKAGE_CUS);
- omap_serial_init();
+ omap_serial_init_allports();
cm_t35_init_i2c();
cm_t35_init_nand();
cm_t35_init_ads7846();
@@ -659,7 +659,7 @@ static void __init devkit8000_init(void)
spi_register_board_info(devkit8000_spi_board_info,
ARRAY_SIZE(devkit8000_spi_board_info));
- omap_serial_init();
+ omap_serial_init_allports();
omap_dm9000_init();
@@ -44,7 +44,7 @@ static void __init omap_generic_init_irq(void)
static void __init omap_generic_init(void)
{
- omap_serial_init();
+ omap_serial_init_allports();
}
static void __init omap_generic_map_io(void)
@@ -363,7 +363,7 @@ static void __init omap_h4_init(void)
platform_add_devices(h4_devices, ARRAY_SIZE(h4_devices));
omap_usb_init(&h4_usb_config);
- omap_serial_init();
+ omap_serial_init_allports();
}
static void __init omap_h4_map_io(void)
@@ -466,7 +466,7 @@ static void __init igep2_init(void)
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
igep2_i2c_init();
platform_add_devices(igep2_devices, ARRAY_SIZE(igep2_devices));
- omap_serial_init();
+ omap_serial_init_allports();
usb_musb_init(&musb_board_data);
usb_ehci_init(&ehci_pdata);
@@ -399,7 +399,7 @@ static void __init omap_ldp_init(void)
spi_register_board_info(ldp_spi_board_info,
ARRAY_SIZE(ldp_spi_board_info));
ads7846_dev_init();
- omap_serial_init();
+ omap_serial_init_allports();
usb_musb_init(&musb_board_data);
omap2_hsmmc_init(mmc);
@@ -146,7 +146,7 @@ static void __init n8x0_init_machine(void)
spi_register_board_info(n800_spi_board_info,
ARRAY_SIZE(n800_spi_board_info));
- omap_serial_init();
+ omap_serial_init_allports();
n8x0_onenand_init();
}
@@ -442,7 +442,7 @@ static void __init omap3_beagle_init(void)
omap3_beagle_i2c_init();
platform_add_devices(omap3_beagle_devices,
ARRAY_SIZE(omap3_beagle_devices));
- omap_serial_init();
+ omap_serial_init_allports();
omap_mux_init_gpio(170, OMAP_PIN_INPUT);
gpio_request(170, "DVI_nPD");
@@ -680,7 +680,7 @@ static void __init omap3_evm_init(void)
spi_register_board_info(omap3evm_spi_board_info,
ARRAY_SIZE(omap3evm_spi_board_info));
- omap_serial_init();
+ omap_serial_init_allports();
/* OMAP3EVM uses ISP1504 phy and so register nop transceiver */
usb_nop_xceiv_register();
@@ -569,7 +569,7 @@ static void __init omap3pandora_init(void)
omap3pandora_i2c_init();
platform_add_devices(omap3pandora_devices,
ARRAY_SIZE(omap3pandora_devices));
- omap_serial_init();
+ omap_serial_init_allports();
spi_register_board_info(omap3pandora_spi_board_info,
ARRAY_SIZE(omap3pandora_spi_board_info));
omap3pandora_ads7846_init();
@@ -540,7 +540,7 @@ static void __init omap3_touchbook_init(void)
omap3_touchbook_i2c_init();
platform_add_devices(omap3_touchbook_devices,
ARRAY_SIZE(omap3_touchbook_devices));
- omap_serial_init();
+ omap_serial_init_allports();
omap_mux_init_gpio(170, OMAP_PIN_INPUT);
gpio_request(176, "DVI_nPD");
@@ -424,7 +424,7 @@ static void __init overo_init(void)
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
overo_i2c_init();
platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices));
- omap_serial_init();
+ omap_serial_init_allports();
overo_flash_init();
usb_musb_init(&musb_board_data);
usb_ehci_init(&ehci_pdata);
@@ -129,7 +129,7 @@ static struct omap_musb_board_data musb_board_data = {
static void __init rx51_init(void)
{
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
- omap_serial_init();
+ omap_serial_init_allports();
usb_musb_init(&musb_board_data);
rx51_peripherals_init();
old mode 100755
new mode 100644
@@ -280,7 +280,7 @@ static void enable_board_wakeup_source(void)
void __init zoom_peripherals_init(void)
{
omap_i2c_init();
- omap_serial_init();
+ omap_serial_init_allports();
usb_musb_init(&musb_board_data);
enable_board_wakeup_source();
}
@@ -710,10 +710,10 @@ void __init omap_serial_early_init(void)
* @port: serial port number (0-3)
*
* This function initialies serial driver for given @port only.
- * Platforms can call this function instead of omap_serial_init()
+ * Platforms can call this function instead of omap_serial_init_allports()
* if they don't plan to use all available UARTs as serial ports.
*
- * Don't mix calls to omap_serial_init_port() and omap_serial_init(),
+ * Don't mix calls to omap_serial_init_port() and omap_serial_init_allports(),
* use only one of the two.
*/
void __init omap_serial_init_port(int port)
@@ -765,13 +765,13 @@ void __init omap_serial_init_port(int port)
}
/**
- * omap_serial_init() - intialize all supported serial ports
+ * omap_serial_init_allports() - intialize all supported serial ports
*
* Initializes all available UARTs as serial ports. Platforms
* can call this function when they want to have default behaviour
* for serial ports (e.g initialize them all as serial ports).
*/
-void __init omap_serial_init(void)
+void __init omap_serial_init_allports(void)
{
int i, nr_ports;
@@ -80,7 +80,7 @@
#ifndef __ASSEMBLER__
extern void __init omap_serial_early_init(void);
-extern void omap_serial_init(void);
+extern void omap_serial_init_allports(void);
extern void omap_serial_init_port(int port);
extern int omap_uart_can_sleep(void);
extern void omap_uart_check_wakeup(void);