X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F100-disable_pcmcia_compat.patch;h=60927555bbb2fc2b413b8950ef6397476793224e;hp=8b366ff93699a7e790108fcc5d2585401a752d99;hb=32b08b181638532aece5939d561bcdf3e24f5a6e;hpb=34ad7f6499be7e2190d8fd92423ab92a9d8f4a22 diff --git a/package/mac80211/patches/100-disable_pcmcia_compat.patch b/package/mac80211/patches/100-disable_pcmcia_compat.patch index 8b366ff936..60927555bb 100644 --- a/package/mac80211/patches/100-disable_pcmcia_compat.patch +++ b/package/mac80211/patches/100-disable_pcmcia_compat.patch @@ -1,6 +1,6 @@ --- a/compat/compat-2.6.28.c +++ b/compat/compat-2.6.28.c -@@ -87,7 +87,7 @@ EXPORT_SYMBOL_GPL(usb_poison_urb); +@@ -86,7 +86,7 @@ EXPORT_SYMBOL_GPL(usb_poison_urb); #endif #endif /* CONFIG_USB */ @@ -11,17 +11,17 @@ struct pcmcia_cfg_mem { --- a/compat/compat-2.6.33.c +++ b/compat/compat-2.6.33.c -@@ -14,7 +14,7 @@ +@@ -10,7 +10,7 @@ - #include + #include -#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE) +#if 0 /** * pccard_loop_tuple() - loop over tuples in the CIS -@@ -76,7 +76,7 @@ next_entry: - EXPORT_SYMBOL(pccard_loop_tuple); +@@ -72,7 +72,7 @@ next_entry: + EXPORT_SYMBOL_GPL(pccard_loop_tuple); /* Source: drivers/pcmcia/cistpl.c */ -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE) @@ -31,7 +31,7 @@ struct pcmcia_device *p_dev; --- a/include/linux/compat-2.6.28.h +++ b/include/linux/compat-2.6.28.h -@@ -27,7 +27,7 @@ +@@ -49,7 +49,7 @@ typedef u32 phys_addr_t; }) #endif /* From include/asm-generic/bug.h */ @@ -42,18 +42,16 @@ #include --- a/include/linux/compat-2.6.33.h +++ b/include/linux/compat-2.6.33.h -@@ -6,8 +6,8 @@ - #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) +@@ -7,7 +7,7 @@ #include + #include -#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE) --#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE) -+#if 0 +#if 0 #include #include #include -@@ -67,9 +67,9 @@ static inline struct sk_buff *netdev_all +@@ -82,9 +82,9 @@ static inline struct sk_buff *netdev_all return skb; }