static int __init bcmsdh_module_init(void) { int error = 0; sdio_function_init(); return error; }
int bcmsdh_register(bcmsdh_driver_t *driver) { drvinfo = *driver; SDLX_MSG(("Linux Kernel SDIO/MMC Driver\n")); return sdio_function_init(); }
static int __init bcmsdh_module_init(void) { int error = 0; #ifdef CONFIG_HWCONNECTIVITY //For OneTrack, we need check it's the right chip type or not. //If it's not the right chip type, don't init the driver if (!isMyConnectivityChip(CHIP_TYPE_BCM)) { sd_err(("wifi-sdh chip type is not match, skip driver init")); return -EINVAL; } else { sd_info(("wifi-sdh chip type is matched with Broadcom, continue")); } #endif error = sdio_function_init(); return error; }