diff mbox

[2/3] compat: backport PCI_EEPROM_WIDTH_93C86

Message ID 1305567815-73528-2-git-send-email-nbd@openwrt.org (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Felix Fietkau May 16, 2011, 5:43 p.m. UTC
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---
 include/linux/compat-2.6.36.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Hauke Mehrtens May 16, 2011, 6:17 p.m. UTC | #1
On 05/16/2011 07:43 PM, Felix Fietkau wrote:
> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
> ---
>  include/linux/compat-2.6.36.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/include/linux/compat-2.6.36.h b/include/linux/compat-2.6.36.h
> index 7a82522..2d756d1 100644
> --- a/include/linux/compat-2.6.36.h
> +++ b/include/linux/compat-2.6.36.h
> @@ -123,6 +123,8 @@ static inline void tty_unlock(void) __releases(kernel_lock)
>  
>  #define __rcu
>  
> +#define PCI_EEPROM_WIDTH_93C86	8
> +
>  #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)) */
>  
>  #endif /* LINUX_26_36_COMPAT_H */

NACK on this patch.

PCI_EEPROM_WIDTH_93C86 is already defined in
include/linux/eeprom_93cx6.h which is shipped with compat-wireless.

Hauke
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Felix Fietkau May 16, 2011, 6:19 p.m. UTC | #2
On 2011-05-16 8:17 PM, Hauke Mehrtens wrote:
> On 05/16/2011 07:43 PM, Felix Fietkau wrote:
>>  Signed-off-by: Felix Fietkau<nbd@openwrt.org>
>>  ---
>>   include/linux/compat-2.6.36.h |    2 ++
>>   1 files changed, 2 insertions(+), 0 deletions(-)
>>
>>  diff --git a/include/linux/compat-2.6.36.h b/include/linux/compat-2.6.36.h
>>  index 7a82522..2d756d1 100644
>>  --- a/include/linux/compat-2.6.36.h
>>  +++ b/include/linux/compat-2.6.36.h
>>  @@ -123,6 +123,8 @@ static inline void tty_unlock(void) __releases(kernel_lock)
>>
>>   #define __rcu
>>
>>  +#define PCI_EEPROM_WIDTH_93C86	8
>>  +
>>   #endif /* (LINUX_VERSION_CODE<  KERNEL_VERSION(2,6,36)) */
>>
>>   #endif /* LINUX_26_36_COMPAT_H */
>
> NACK on this patch.
>
> PCI_EEPROM_WIDTH_93C86 is already defined in
> include/linux/eeprom_93cx6.h which is shipped with compat-wireless.
Oh, seems like I overlooked that while carrying along an old patch.
Thanks.

- Felix
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/linux/compat-2.6.36.h b/include/linux/compat-2.6.36.h
index 7a82522..2d756d1 100644
--- a/include/linux/compat-2.6.36.h
+++ b/include/linux/compat-2.6.36.h
@@ -123,6 +123,8 @@  static inline void tty_unlock(void) __releases(kernel_lock)
 
 #define __rcu
 
+#define PCI_EEPROM_WIDTH_93C86	8
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)) */
 
 #endif /* LINUX_26_36_COMPAT_H */