Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760976Ab3DBKEk (ORCPT ); Tue, 2 Apr 2013 06:04:40 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:62015 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755434Ab3DBKEh convert rfc822-to-8bit (ORCPT ); Tue, 2 Apr 2013 06:04:37 -0400 X-AuditID: cbfee690-b7f656d0000007e3-c5-515aad348d55 From: Kukjin Kim To: "'Paul Bolle'" , "'Ben Dooks'" , "'Russell King'" Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: <1364570435.1345.82.camel@x61.thuisdomein> In-reply-to: <1364570435.1345.82.camel@x61.thuisdomein> Subject: RE: [PATCH] ARM: Fix typo "CONFIG_SAMSUNG_DEV_RTC" Date: Tue, 02 Apr 2013 19:04:35 +0900 Message-id: <237b01ce2f89$7af00b60$70d02220$%kim@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac4skPeG5cM2sFgLTXuE02BEAtsvOQC+CB2A Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOIsWRmVeSWpSXmKPExsVy+t8zQ12TtVGBBud6hSwmrTvAZLHp8TVW i8u75rBZzDi/j8ni9mVei0W3zjA7sHm0NPewefxd9YLZY/OSeo+N258weXzeJBfAGsVlk5Ka k1mWWqRvl8CVsen6fZaCqzwVX6f+Z29gPMvVxcjJISFgInFn6jNmCFtM4sK99WxdjFwcQgLL GCXmNq5mhSnauLuDFSKxiFHiyptnTBDOX0aJDxuvsIFUsQloSBx+/4wdxBYRKJbYvOcaUBEH B7NAtsSWV0wgYSEBM4kNXXNZQGxOAXOJuy+Xg20WFrCWOPt6JpjNIqAq0fz3FSNIK6+ArcTb O7kgYV4BQYkfk++xQExUl5gyBSzMLKAt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gEGtiWXFl7iFGCQ5mJRHerbpRgUK8KYmVValF+fFFpTmp xYcYk4G+nMgsJZqcD0xReSXxhsYmZkaWRmYWRibm5qQJK4nzHmi1DhQSSE8sSc1OTS1ILYLZ wsTBKdXAqN8qkHLG6E/Krp5VZgrrZdu//5u7duUXhaj9qlstrm974MwQeIpv8vwAC8Ppd6Ze DU8QrIixMpo348EDmbSNESLPl2RP4V/tFHjnvmzwgazf+6Z/ucPtb5YScObZHL1L/1JUDtya x7i0kXf/tq7Iw6vvPZR5fknsYPOe+s4Y2Zcq2sels9bl3FBiKc5INNRiLipOBABZ6gArRwMA AA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1803 Lines: 50 Paul Bolle wrote: > > s3c_rtc_setname() tests for CONFIG_SAMSUNG_DEV_RTC or > CONFIG_PLAT_S3C24XX. But of these two macros only CONFIG_PLAT_S3C24XX > actually exists. Now we can see that s3c_device_rtc is only defined if > either CONFIG_PLAT_S3C24XX or CONFIG_S3C_DEV_RTC are defined. So, > apparently, it was intended to use CONFIG_S3C_DEV_RTC here. > > Signed-off-by: Paul Bolle > --- > 0) Untested. > > 1) Introduced in commit commit b2994d318dc78c9a4a43605629f00217335ada28 > ("ARM: S3C2443/S3C2416: add s3c_rtc_setname and rename rtc devices"), > which shipped in v3.4. Should this go to stable too (after testing)? > Let me check again, and if required, I will add Cc to stable. > arch/arm/plat-samsung/include/plat/rtc-core.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/plat-samsung/include/plat/rtc-core.h > b/arch/arm/plat-samsung/include/plat/rtc-core.h > index 21d8594..7b542f7 100644 > --- a/arch/arm/plat-samsung/include/plat/rtc-core.h > +++ b/arch/arm/plat-samsung/include/plat/rtc-core.h > @@ -19,7 +19,7 @@ > /* re-define device name depending on support. */ > static inline void s3c_rtc_setname(char *name) > { > -#if defined(CONFIG_SAMSUNG_DEV_RTC) || defined(CONFIG_PLAT_S3C24XX) > +#if defined(CONFIG_S3C_DEV_RTC) || defined(CONFIG_PLAT_S3C24XX) Yes, according to devs.c file in plat-samsung, SAMSUNG_DEV_RTC should be changed to S3C_DEV_RTC. > s3c_device_rtc.name = name; > #endif > } > -- > 1.7.11.7 Will apply after checking about stable, thanks. - Kukjin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/