|
@@ -185,13 +185,6 @@ void brcmf_bus_wowl_config(struct brcmf_bus *bus, bool enabled)
|
|
|
bus->ops->wowl_config(bus->dev, enabled);
|
|
|
}
|
|
|
|
|
|
-static inline void brcmf_bus_change_state(struct brcmf_bus *bus,
|
|
|
- enum brcmf_bus_state new_state)
|
|
|
-{
|
|
|
- brcmf_dbg(TRACE, "%d -> %d\n", bus->state, new_state);
|
|
|
- bus->state = new_state;
|
|
|
-}
|
|
|
-
|
|
|
/*
|
|
|
* interface functions from common layer
|
|
|
*/
|
|
@@ -214,6 +207,9 @@ void brcmf_txflowblock(struct device *dev, bool state);
|
|
|
/* Notify the bus has transferred the tx packet to firmware */
|
|
|
void brcmf_txcomplete(struct device *dev, struct sk_buff *txp, bool success);
|
|
|
|
|
|
+/* Configure the "global" bus state used by upper layers */
|
|
|
+void brcmf_bus_change_state(struct brcmf_bus *bus, enum brcmf_bus_state state);
|
|
|
+
|
|
|
int brcmf_bus_start(struct device *dev);
|
|
|
s32 brcmf_iovar_data_set(struct device *dev, char *name, void *data, u32 len);
|
|
|
void brcmf_bus_add_txhdrlen(struct device *dev, uint len);
|