aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ipw2200.h')
-rw-r--r--drivers/net/wireless/ipw2200.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2200.h b/drivers/net/wireless/ipw2200.h
index e65620a4d79e..e2afa76ad3cd 100644
--- a/drivers/net/wireless/ipw2200.h
+++ b/drivers/net/wireless/ipw2200.h
@@ -852,7 +852,7 @@ struct ipw_scan_request_ext {
852 u16 dwell_time[IPW_SCAN_TYPES]; 852 u16 dwell_time[IPW_SCAN_TYPES];
853} __attribute__ ((packed)); 853} __attribute__ ((packed));
854 854
855extern inline u8 ipw_get_scan_type(struct ipw_scan_request_ext *scan, u8 index) 855static inline u8 ipw_get_scan_type(struct ipw_scan_request_ext *scan, u8 index)
856{ 856{
857 if (index % 2) 857 if (index % 2)
858 return scan->scan_type[index / 2] & 0x0F; 858 return scan->scan_type[index / 2] & 0x0F;
@@ -860,7 +860,7 @@ extern inline u8 ipw_get_scan_type(struct ipw_scan_request_ext *scan, u8 index)
860 return (scan->scan_type[index / 2] & 0xF0) >> 4; 860 return (scan->scan_type[index / 2] & 0xF0) >> 4;
861} 861}
862 862
863extern inline void ipw_set_scan_type(struct ipw_scan_request_ext *scan, 863static inline void ipw_set_scan_type(struct ipw_scan_request_ext *scan,
864 u8 index, u8 scan_type) 864 u8 index, u8 scan_type)
865{ 865{
866 if (index % 2) 866 if (index % 2)