Commit [e0e6bd] Maximize Restore History

usb.h: fix #if CONFIG_ACX_MAC80211_USB problem

A previous patch used #if ACX_MAC80211_USB, and should have used #if
CONFIG_ACX_MAC80211_USB instead. ACX_MAC80211_USB is defined in a
header for other uses (and maybe should be dropped).

This fix exposed some bogus static protos pasted into the defined
branch of the header, which by definition are internal to usb.c, and
caused warnings once the ifdef was sorted out. Clean them out later.

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Reviewed-by: Florian Fainelli <florian@openwrt.org>

Jim Cromie Jim Cromie 2012-04-09

Oliver Winker Oliver Winker 2012-04-12

changed usb.h
usb.h Diff Switch to side-by-side view
Loading...