cregit-Linux how code gets into the kernel

Release 4.11 drivers/net/wireless/broadcom/b43/sdio.h

#ifndef B43_SDIO_H_

#define B43_SDIO_H_

#include <linux/ssb/ssb.h>

struct b43_wldev;


#ifdef CONFIG_B43_SDIO


struct b43_sdio {
	
struct ssb_bus ssb;
	
void *irq_handler_opaque;
	
void (*irq_handler)(struct b43_wldev *dev);
};

int b43_sdio_request_irq(struct b43_wldev *dev,
			 void (*handler)(struct b43_wldev *dev));
void b43_sdio_free_irq(struct b43_wldev *dev);

int b43_sdio_init(void);
void b43_sdio_exit(void);


#else /* CONFIG_B43_SDIO */



static inline int b43_sdio_request_irq(struct b43_wldev *dev, void (*handler)(struct b43_wldev *dev)) { return -ENODEV; }

Contributors

PersonTokensPropCommitsCommitProp
Albert Herranz2692.86%150.00%
Hauke Mehrtens27.14%150.00%
Total28100.00%2100.00%


static inline void b43_sdio_free_irq(struct b43_wldev *dev) { }

Contributors

PersonTokensPropCommitsCommitProp
Albert Herranz981.82%150.00%
Hauke Mehrtens218.18%150.00%
Total11100.00%2100.00%


static inline int b43_sdio_init(void) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Albert Herranz12100.00%1100.00%
Total12100.00%1100.00%


static inline void b43_sdio_exit(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Albert Herranz8100.00%1100.00%
Total8100.00%1100.00%

#endif /* CONFIG_B43_SDIO */ #endif /* B43_SDIO_H_ */

Overall Contributors

PersonTokensPropCommitsCommitProp
Albert Herranz14697.33%150.00%
Hauke Mehrtens42.67%150.00%
Total150100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.