[ar7] migrate acx to netdev_ops, required for later kernels
[openwrt-10.03/.git] / package / acx-mac80211 / patches / 001-build_module.diff
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -28,7 +28,7 @@ ifneq ($(KERNELRELEASE),)
4         obj-$(CONFIG_ACX_MAC80211) += acx-mac80211.o
5         acx-mac80211-obj-$(CONFIG_ACX_MAC80211_PCI) += pci.o
6         acx-mac80211-obj-$(CONFIG_ACX_MAC80211_USB) += usb.o
7 -       acx-mac80211-objs := common.o $(acx-mac80211-obj-y)
8 +       acx-mac80211-objs := common.o $(acx-mac80211-obj-m)
9  else
10  # Otherwise we were called directly from the command line: the the kernel build
11  # system must be explicitly invoked.