2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/include/linux/bcma
Paul Gortmaker eb5589a8f0 include: convert various register fcns to macros to avoid include chaining
The original implementations reference THIS_MODULE in an inline.
We could include <linux/export.h>, but it is better to avoid chaining.

Fortunately someone else already thought of this, and made a similar
inline into a #define in <linux/device.h> for device_schedule_callback(),
[see commit 523ded71de] so follow that precedent here.

Also bubble up any __must_check that were used on the prev. wrapper inline
functions up one to the real __register functions, to preserve any prev.
sanity checks that were used in those instances.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2011-10-31 19:32:32 -04:00
..
bcma_driver_chipcommon.h bcma: cc: export more control functions 2011-09-19 16:10:11 -04:00
bcma_driver_mips.h bcma: get CPU clock 2011-08-08 14:29:29 -04:00
bcma_driver_pci.h bcma: clean exports of functions 2011-06-20 15:34:19 -04:00
bcma_regs.h bcma: move define of BCMA_CLKCTLST register 2011-07-19 17:03:08 -04:00
bcma_soc.h bcma: add SOC bus 2011-08-08 14:29:25 -04:00
bcma.h include: convert various register fcns to macros to avoid include chaining 2011-10-31 19:32:32 -04:00