From patchwork Wed Sep 7 10:30:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 9318143 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CC0E360752 for ; Wed, 7 Sep 2016 02:44:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4CF328F8E for ; Wed, 7 Sep 2016 02:44:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A822928F8D; Wed, 7 Sep 2016 02:44:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DATE_IN_FUTURE_06_12,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3831428F8D for ; Wed, 7 Sep 2016 02:44:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhSpK-0007v1-3d; Wed, 07 Sep 2016 02:43:02 +0000 Received: from mail-sn1nam01on0089.outbound.protection.outlook.com ([104.47.32.89] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhSpF-0007tk-Nw for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2016 02:42:58 +0000 Received: from BN3PR0301CA0039.namprd03.prod.outlook.com (10.160.180.177) by DM5PR03MB2442.namprd03.prod.outlook.com (10.168.233.12) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9; Wed, 7 Sep 2016 02:42:36 +0000 Received: from BN1AFFO11FD041.protection.gbl (2a01:111:f400:7c10::152) by BN3PR0301CA0039.outlook.office365.com (2a01:111:e400:4000::49) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9 via Frontend Transport; Wed, 7 Sep 2016 02:42:36 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; armlinux.org.uk; dkim=none (message not signed) header.d=none; armlinux.org.uk; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD041.mail.protection.outlook.com (10.58.52.252) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Wed, 7 Sep 2016 02:42:35 +0000 Received: from anson-OptiPlex-790.ap.freescale.net (anson-OptiPlex-790.ap.freescale.net [10.192.242.177]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u872gVOV011620; Tue, 6 Sep 2016 19:42:32 -0700 From: Anson Huang To: , Subject: [PATCH] ARM: imx: build cpuidle-imx6sx.c for imx6ul Date: Wed, 7 Sep 2016 18:30:44 +0800 Message-ID: <1473244244-8002-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131176897558758772; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(85426001)(4326007)(104016004)(5660300001)(105606002)(106466001)(356003)(8936002)(77096005)(626004)(19580405001)(8666005)(50226002)(48376002)(8676002)(19580395003)(5001770100001)(86362001)(36756003)(92566002)(50466002)(87936001)(50986999)(305945005)(11100500001)(7846002)(47776003)(5003940100001)(2906002)(229853001)(81156014)(81166006)(189998001)(68736007)(586003)(97736004)(7059030)(32563001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2442; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD041; 1:ts0Qj0AbWytoxqYSPgb9SOx0yt+RMiETyz4VGBgquzxncVrn8zYWSeBkZIwooe9LsntEyS01GEGWD/WktqwSL3ZSf8E884XzATHmWFzpFYFX1Evk7ZaR59UrOwodSSz15YJdHLJYPrl77qTUizx/l10KprO6gkDpcoBgu/wLxslEvFVmh+ERAkEjeTjTdlKz9MyUBfywe9d0X1LhJRYR0TobE+oQObSDaZf3ycJeLR0ReUodLt8NOctUZGCOGRGd0Wsv9+9bzvD+kER+UC6QQlwNZEBuGHgDlTHMnkWP4oSsL1f8w2bqJTTiGyHHm0ETHpaFwUUXO17nyuHd1psKPvC9RWJUrtV8mO09XEI27V7dNTOTZDYh41BrVZwmaYmBck2dtMvq0rx4szRz/KWj2+u1rQyrRWQ5o1R8j8Z5BsJKfwKYZy65ZOrSpBTt7EZI0b20v81XNK65+0QqBS3KFWmMSlNQAoXtO3W0FqM45TodX9b9t802X56b+96xG376ydrfun+r1YoRZUM/D/xrLWzH4jVZgN6XcommxR373ihRhHgBUuOU7ecSOoY+ZG9Z0q9bJddJkV9bh1Gp+5QiEbOTeV43SbtgFz5R0IGIpv2VkvwinOuy5+WnH3fJQbXd MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: a9532390-a8ae-4950-e414-08d3d6c8a02e X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2442; 2:PIPQpmJUf6+3lioUS85YD0mnMF18r6yvXwSkMTcTU1UMrqPrnc6J/7/R2U55m4nWedgtfFnm0k3HyUJKdji8FOJu9rXSMAtsyUiKMZt8EIAmuO4UIx9fiQY7jm0x58lJVRY5anPm5McvXQf+94LH+mvGnp0WM5M2hXJDJWvAAZaPWM5KVnOTRDznbpoKQIvz; 3:UfiUbFImHSE4EESUN54yBsVL03u35+Qb52gB45O88ojIZ13cVHGApHr1aWUCJkwI7a8vZ7uP5KNQUTH7iSbVpU5vjomlqb7+V8iigQ/rKFKqW+eKtJLFn8tjVl5BZUxp9sq2niCmOY4U59uefVyQSuc+bMTlsLRQaVZ64Kgu/OH9hhVput+GsoVRTikZeCFeBuFLMpAngK9OjSwdaERJcpJZqM8GmdtykHCRXgHeH5E=; 25:roFlYZmQenQnUtXeXdX4zNls8IRsWwN5sfCsyAncsUc+MI5uLPyUMyExh+6NmeFKyyhX4cZFhwEdfdvwpT0dLPnZZWQO3uqUTPvtR/Djtv46RYmXDvGorndKbPeW+KVNMsE/XeOTN2nOoNvdu0kDcXycPZxt3Vd0KSG2T9VGDutT3D0nF6z+yti9PcvImekQlwupifieGQ7JcgYGb37fPxxRJ3zINweSRI735+tL0radWNiPliNyYNKPyq6eRYSnfrtIfJVlutqKFXGbvQTiyaYlDNmWbNm2Y2nRkTLzHibzqSD+MAJdajYB8DsKpjuMX/Js1vIXlXVhJghxDIKA4iRMFSCX1RlsqCKIa+5KWOMX+LGTSAzrZFiTM4LbbYgjk9Tvqiv+13GSCbnu+sDry21y/gYJyMrDRbjTI0iVRHc= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM5PR03MB2442; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2442; 31:m3Yjlgu6Mz0QYWyCrjcV6XJ8SOHuhi8qOk90OI/f6GPAuCbCl3B6PcfR9npJPwcFwc6GZFJNT14x7+EYUmxQb0g1it1JP/Go2aHSoTa/xQMwhA+a7qM4EBXqxZqvUww0pqjSG/FVMZwEGnseh6VJCtFl77GN1DJM+eVE16ny/79KkKWBf6AY5/sWUggoF6hJ6GM/Rf0acPQVgjMTQxn1x/xn9E5TghtnYf2GBzcrvyU=; 4:zLA7pHmA6+cIYRGxg8+oVfKI84LH8xiCAuNdLKg5CfaU+jpqZOsTW11GB9lvD8MQ25RLn8TcbX1OApOHEtInsrkqZXrHwknFcI/22YTDgDXwGfk5IScAdNjf8rkQdBqCSRDVJxI1woJC4SBDP2CjlnY851jjGuQU4rPSQ5IiUbdu3Ubv1xhmd0X6g0jgsRrc5exWqeovSYFP8pr0WSL/jU6N37ij6Ijmstj0fDflh2HfXLLpgmvRvgnVyQGeY11wLfucbQlRmB4uv2VOC5uQv620Zxqem4G/YTnJ7crMFGw/lXr5uAPrTdZu8jTGAUaYDp2eSlw2NFK6Z4lBaPrFsBoYQucFGew0MJ6YAujWjj5WRkYtDqgSAAC2bY8JOReE03IsNWFsmhK676c+vcV+AJiPp2bx25mDfhgDBBAQrFFNvVXZFZKA7F3AvoW9O+p6VaoB4vAT2Jxwo2K70wjU1+qvHQz4B0NWwUAqjatw/ArZv2ZK6ZB/Z3VRaycC930DAE4sp/l83VA9efLj9QmshFokNjy27jHnqhow1ljf/zM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(13015025)(13017025)(13024025)(13023025)(13018025)(10201501046)(3002001)(6055026); SRVR:DM5PR03MB2442; BCL:0; PCL:0; RULEID:(400006); SRVR:DM5PR03MB2442; X-Forefront-PRVS: 0058ABBBC7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB2442; 23:rY+BGFBjMADB9z2jahr2EcqylLk4jcsNkeLAMKbgg?= =?us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2xY6hagl7BlEdH2B3RcdgGlIb/8UehYlyVCRxftfm1hbAlFNPtOVSVVvqyxg3wcD5SuZZYR038rky50SXXt/EVojcbF/lOvBOyGnyTDbm11II SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2016 02:42:35.6730 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2442 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160906_194257_978487_5855EA07 X-CRM114-Status: GOOD ( 11.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fabio.estevam@nxp.com, shawnguo@kernel.org, linux@armlinux.org.uk, kernel@pengutronix.de Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix build error when CONFIG_SOC_IMX6SX is disabled, as i.MX6UL reuses i.MX6SX's cpuidle driver. arch/arm/mach-imx/built-in.o: In function `imx6ul_init_late': platform-spi_imx.c:(.init.text+0x445c): undefined reference to `imx6sx_cpuidle_init' make: *** [vmlinux] Error 1 Signed-off-by: Anson Huang --- arch/arm/mach-imx/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index 2636adf..cab1289 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -27,6 +27,7 @@ obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o obj-$(CONFIG_SOC_IMX6SL) += cpuidle-imx6sl.o obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o +obj-$(CONFIG_SOC_IMX6UL) += cpuidle-imx6sx.o endif ifdef CONFIG_SND_IMX_SOC