Return-Path: Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:60454 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757341Ab2HNSx1 (ORCPT ); Tue, 14 Aug 2012 14:53:27 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7EIrQtB023807 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 14 Aug 2012 14:53:27 -0400 Received: from quad.redhat.com (vpn-10-121.rdu.redhat.com [10.11.10.121]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q7EIrQkV000965 for ; Tue, 14 Aug 2012 14:53:26 -0400 From: Andy Gospodarek To: backports@vger.kernel.org Subject: [PATCH] compat: only compile optional sdio code on 2.6.37 and later Date: Tue, 14 Aug 2012 14:52:27 -0400 Message-Id: <1344970347-12440-1-git-send-email-gospo@redhat.com> Sender: backports-owner@vger.kernel.org List-ID: The pm_runtime routines in wlcore/sdio.c are not included in compat and the best alternative is to build them only on kernels 2.6.37 and later. Signed-off-by: Andy Gospodarek --- config.mk | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/config.mk b/config.mk index 93f0738..165a6ad 100644 --- a/config.mk +++ b/config.mk @@ -588,7 +588,9 @@ ifdef CONFIG_WL12XX_PLATFORM_DATA ifndef CONFIG_COMPAT_KERNEL_2_6_37 export CONFIG_COMPAT_WL1251_SDIO=m endif #CONFIG_COMPAT_KERNEL_2_6_37 +ifndef CONFIG_COMPAT_KERNEL_2_6_38 export CONFIG_WLCORE_SDIO=m +endif #CONFIG_COMPAT_KERNEL_2_6_38 endif #CONFIG_WL12XX_PLATFORM_DATA endif #CONFIG_CRC7 -- 1.7.6.5