int dhd_customer_oob_irq_map(unsigned long *irq_flags_ptr) { int irq = -1; irq = bcm_wlan_get_irq(); return irq; }
/* This function will return: * 1) return : Host gpio interrupt number per customer platform * 2) irq_flags_ptr : Type of Host interrupt as Level or Edge * * NOTE : * Customer should check his platform definitions * and his Host Interrupt spec * to figure out the proper setting for his platform. * Broadcom provides just reference settings as example. * */ int dhd_customer_oob_irq_map(unsigned long *irq_flags_ptr) { int host_oob_irq = 0; #ifdef CONFIG_WIFI_CONTROL_EXPORT host_oob_irq = bcm_wlan_get_irq(); #endif /* CONFIG_WIFI_CONTROL_EXPORT */ #ifdef CONFIG_WIFI_CONTROL_FUNC host_oob_irq = wifi_get_irq_number(irq_flags_ptr); #endif /* CONFIG_WIFI_CONTROL_FUNC */ return (host_oob_irq); }