From patchwork Tue Jul 26 06:21:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jhbird.choi@samsung.com X-Patchwork-Id: 1007112 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6Q6TX7S014582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 26 Jul 2011 06:29:53 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qlb8w-00058x-Od; Tue, 26 Jul 2011 06:29:26 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qlb8w-0000cf-D1; Tue, 26 Jul 2011 06:29:26 +0000 Received: from ganesha.gnumonks.org ([2001:780:45:1d:2e0:81ff:fe28:898a]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qlb8t-0000cM-EV for linux-arm-kernel@lists.infradead.org; Tue, 26 Jul 2011 06:29:24 +0000 Received: from uucp by ganesha.gnumonks.org with local-bsmtp (Exim 4.72) (envelope-from ) id 1Qlb8n-0005gF-44; Tue, 26 Jul 2011 08:29:17 +0200 Received: from [12.23.102.153] (helo=sunrise.dsn.sec.samsung.com) by jackpot.kr.gnumonks.org with esmtp (Exim 4.69) (envelope-from ) id 1QlaFW-0007Cd-QC; Tue, 26 Jul 2011 14:32:10 +0900 From: jhbird.choi@samsung.com To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: EXYNOS4: Change the pwm device name to supprot clkdev Date: Tue, 26 Jul 2011 15:21:52 +0900 Message-Id: <1311661312-24470-1-git-send-email-jhbird.choi@samsung.com> X-Mailer: git-send-email 1.7.1 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110726_022923_797133_5AFE5CDD X-CRM114-Status: GOOD ( 11.58 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- Cc: Kukjin Kim , Jonghwan Choi , Thomas Abraham X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 26 Jul 2011 06:29:53 +0000 (UTC) From: Jonghwan Choi Signed-off-by: Jonghwan Choi --- arch/arm/mach-exynos4/time.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/time.c b/arch/arm/mach-exynos4/time.c index ebb8f38..9a74294 100644 --- a/arch/arm/mach-exynos4/time.c +++ b/arch/arm/mach-exynos4/time.c @@ -264,6 +264,7 @@ static void __init exynos4_timer_resources(void) clk_enable(timerclk); tmpdev.id = 2; + tmpdev.dev.init_name = "s3c24xx-pwm.2"; tin2 = clk_get(&tmpdev.dev, "pwm-tin"); if (IS_ERR(tin2)) panic("failed to get pwm-tin2 clock for system timer"); @@ -274,6 +275,7 @@ static void __init exynos4_timer_resources(void) clk_enable(tin2); tmpdev.id = 4; + tmpdev.dev.init_name = "s3c24xx-pwm.4"; tin4 = clk_get(&tmpdev.dev, "pwm-tin"); if (IS_ERR(tin4)) panic("failed to get pwm-tin4 clock for system timer");