diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2011-12-13 14:06:01 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2011-12-13 14:06:01 +0000 |
| commit | 75da3c1a9be663083e48f931994c1caae3f9b7a9 (patch) | |
| tree | 6511ce1e1f47db206a8f3a23f568bfc5fc44a836 /sys/dev/pccard | |
| parent | 9910b854c628e6c2550e5b9644930e076c2b7403 (diff) | |
Notes
Diffstat (limited to 'sys/dev/pccard')
| -rw-r--r-- | sys/dev/pccard/pccardvar.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pccard/pccardvar.h b/sys/dev/pccard/pccardvar.h index 1cfcd584ef48..f98bcc823f6b 100644 --- a/sys/dev/pccard/pccardvar.h +++ b/sys/dev/pccard/pccardvar.h @@ -106,7 +106,7 @@ typedef int (*pccard_product_match_fn) (device_t dev, * make this inline so that we don't have to worry about dangling references * to it in the modules or the code. */ -static __inline const struct pccard_product * +static inline const struct pccard_product * pccard_product_lookup(device_t dev, const struct pccard_product *tab, size_t ent_size, pccard_product_match_fn matchfn) { @@ -150,31 +150,31 @@ pccard_product_lookup(device_t dev, const struct pccard_product *tab, /* Convenience functions */ -static __inline int +static inline int pccard_cis_scan(device_t dev, pccard_scan_t fct, void *arg) { return (CARD_CIS_SCAN(device_get_parent(dev), dev, fct, arg)); } -static __inline int +static inline int pccard_attr_read_1(device_t dev, uint32_t offset, uint8_t *val) { return (CARD_ATTR_READ(device_get_parent(dev), dev, offset, val)); } -static __inline int +static inline int pccard_attr_write_1(device_t dev, uint32_t offset, uint8_t val) { return (CARD_ATTR_WRITE(device_get_parent(dev), dev, offset, val)); } -static __inline int +static inline int pccard_ccr_read_1(device_t dev, uint32_t offset, uint8_t *val) { return (CARD_CCR_READ(device_get_parent(dev), dev, offset, val)); } -static __inline int +static inline int pccard_ccr_write_1(device_t dev, uint32_t offset, uint8_t val) { return (CARD_CCR_WRITE(device_get_parent(dev), dev, offset, val)); @@ -199,7 +199,7 @@ enum { }; #define PCCARD_ACCESSOR(A, B, T) \ -__inline static int \ +static inline int \ pccard_get_ ## A(device_t dev, T *t) \ { \ return BUS_READ_IVAR(device_get_parent(dev), dev, \ |
