mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-20 23:35:02 +00:00
In FreeBSD, we don't need sc_power callback
Approved by: cognet and imp
This commit is contained in:
parent
8401edeb32
commit
48939a31e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165109
|
@ -76,6 +76,7 @@ struct awi_chanset {
|
|||
struct awi_softc {
|
||||
#ifdef __NetBSD__
|
||||
struct device sc_dev;
|
||||
void (*sc_power)(struct awi_softc *, int);
|
||||
#endif
|
||||
#ifdef __FreeBSD__
|
||||
struct arpcom sc_arp;
|
||||
|
@ -86,7 +87,6 @@ struct awi_softc {
|
|||
u_char sc_banner[AWI_BANNER_LEN];
|
||||
int (*sc_enable)(struct awi_softc *);
|
||||
void (*sc_disable)(struct awi_softc *);
|
||||
void (*sc_power)(struct awi_softc *, int);
|
||||
|
||||
int (*sc_newstate)(struct ieee80211com *,
|
||||
enum ieee80211_state, int);
|
||||
|
|
Loading…
Reference in a new issue