static void __init edb93xx_register_i2s(void) { if (edb93xx_has_audio()) { ep93xx_register_i2s(); platform_device_register(&edb93xx_audio_device); } }
static void __init snappercl15_init_machine(void) { ep93xx_init_devices(); ep93xx_register_eth(&snappercl15_eth_data, 1); ep93xx_register_i2c(&snappercl15_i2c_gpio_data, snappercl15_i2c_data, ARRAY_SIZE(snappercl15_i2c_data)); ep93xx_register_fb(&snappercl15_fb_info); ep93xx_register_i2s(); platform_device_register(&snappercl15_nand_device); }
static void __init snappercl15_register_audio(void) { ep93xx_register_i2s(); platform_device_register(&snappercl15_audio_device); }
static void __init edb93xx_register_i2s(void) { if (edb93xx_has_audio()) { ep93xx_register_i2s(); } }