mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
Compile ath_hal_reg_write() and ath_hal_reg_read() only if needed
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3664 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
f99b56ca39
commit
78731b81b8
@ -904,6 +904,7 @@ _trace_regop(struct ath_hal *ah, int regop, u_int address, u_int32_t value)
|
||||
#endif /* AH_DEBUG */
|
||||
}
|
||||
|
||||
#if defined(AH_DEBUG) || defined(AH_REGOPS_FUNC) || defined(AH_DEBUG_ALQ)
|
||||
/*
|
||||
* Memory-mapped device register read/write. These are here
|
||||
* as routines when debugging support is enabled and/or when
|
||||
@ -933,6 +934,7 @@ ath_hal_reg_read(struct ath_hal *ah, u_int address)
|
||||
return val;
|
||||
}
|
||||
EXPORT_SYMBOL(ath_hal_reg_read);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Delay n microseconds.
|
||||
|
Loading…
Reference in New Issue
Block a user