int __init brcm_wlan_init(void)
{
	printk(KERN_INFO"%s: start\n", __func__);

	brcm_wifi_init_gpio();
#ifdef CONFIG_BROADCOM_WIFI_RESERVED_MEM
	brcm_init_wlan_mem();
#endif
	return platform_device_register(&brcm_device_wlan);
}
int __init brcm_wlan_init(void)
{
	printk(KERN_INFO"%s: gpio_to_irq IRQ=%d \n", 
			__func__, (int)gpio_to_irq(GPIO_WL_HOST_WAKE) );

#if defined(CONFIG_SPARSE_IRQ)
	brcm_wlan_resources[0].start = gpio_to_irq(GPIO_WL_HOST_WAKE);
	brcm_wlan_resources[0].end = gpio_to_irq(GPIO_WL_HOST_WAKE);
#endif /* defined(CONFIG_SPARSE_IRQ) */
	brcm_wifi_init_gpio();
#ifdef CONFIG_BROADCOM_WIFI_RESERVED_MEM
	brcm_init_wlan_mem();
#endif
	return platform_device_register(&brcm_device_wlan);
}
int __init brcm_wlan_init(void)
{
	printk(KERN_INFO"%s: start\n", __func__);

	brcm_wifi_init_gpio();
#ifdef CONFIG_BROADCOM_WIFI_RESERVED_MEM
	brcm_init_wlan_mem();
#endif

    /* set wifi gpio*/
    brcm_wlan_resources[0].start = gpio_to_irq(GPIO_WL_HOST_WAKE);
    brcm_wlan_resources[0].end = gpio_to_irq(GPIO_WL_HOST_WAKE);
    /* set wifi to power off */
    brcm_wlan_power(0);
    brcm_wlan_proc_create();


	return platform_device_register(&brcm_device_wlan);
}