From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934514Ab3CTJYo (ORCPT ); Wed, 20 Mar 2013 05:24:44 -0400 Received: from mail-da0-f45.google.com ([209.85.210.45]:34243 "EHLO mail-da0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758046Ab3CTJYl (ORCPT ); Wed, 20 Mar 2013 05:24:41 -0400 From: "Luis R. Rodriguez" To: backports@vger.kernel.org Cc: ben@decadent.org.uk, noelamac@gmail.com, linux-kernel@vger.kernel.org, rusty@rustcorp.com.au, andi@firstfloor.org, "Luis R. Rodriguez" Subject: [RFC 24/30] compat: embrace LINUX_BACKPORT() for v3.8 Date: Wed, 20 Mar 2013 02:22:49 -0700 Message-Id: <1363771375-31715-25-git-send-email-mcgrof@do-not-panic.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1363771375-31715-1-git-send-email-mcgrof@do-not-panic.com> References: <1363771375-31715-1-git-send-email-mcgrof@do-not-panic.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6.32 [ OK ] 10 2.6.33 [ OK ] 11 2.6.34 [ OK ] 12 2.6.35 [ OK ] 13 2.6.36 [ OK ] 14 2.6.37 [ OK ] 15 2.6.38 [ OK ] 16 2.6.39 [ OK ] 17 3.0.65 [ OK ] 18 3.1.10 [ OK ] 19 3.2.38 [ OK ] 20 3.3.8 [ OK ] 21 3.4.32 [ OK ] 22 3.5.7 [ OK ] 23 3.6.11 [ OK ] 24 3.7.9 [ OK ] 25 3.8.0 [ OK ] 26 3.9-rc1 [ OK ] Signed-off-by: Luis R. Rodriguez --- include/linux/compat-3.8.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/compat-3.8.h b/include/linux/compat-3.8.h index 184d1d0..55fdc16 100644 --- a/include/linux/compat-3.8.h +++ b/include/linux/compat-3.8.h @@ -16,6 +16,7 @@ #define prandom_u32_state(_state) prandom32(_state) #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,8)) +#define netdev_set_default_ethtool_ops LINUX_BACKPORT(netdev_set_default_ethtool_ops) extern void netdev_set_default_ethtool_ops(struct net_device *dev, const struct ethtool_ops *ops); #endif @@ -26,6 +27,7 @@ extern void netdev_set_default_ethtool_ops(struct net_device *dev, #define PCI_EXP_LNKCTL_ASPM_L0S 0x01 /* L0s Enable */ #define PCI_EXP_LNKCTL_ASPM_L1 0x02 /* L1 Enable */ +#define hid_ignore LINUX_BACKPORT(hid_ignore) extern bool hid_ignore(struct hid_device *); /* This backports: -- 1.7.10.4