From patchwork Thu Nov 6 07:41:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 5239541 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 85ADE9FD47 for ; Thu, 6 Nov 2014 07:41:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C4F0B200D6 for ; Thu, 6 Nov 2014 07:41:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E904B20114 for ; Thu, 6 Nov 2014 07:41:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751142AbaKFHlp (ORCPT ); Thu, 6 Nov 2014 02:41:45 -0500 Received: from mail-wi0-f179.google.com ([209.85.212.179]:58510 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751054AbaKFHlp (ORCPT ); Thu, 6 Nov 2014 02:41:45 -0500 Received: by mail-wi0-f179.google.com with SMTP id h11so628249wiw.0 for ; Wed, 05 Nov 2014 23:41:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KR4ya16m1piCWxzFfQiEPPEWHXmexge1hA9U5kwY5QI=; b=WD0AkTrIrohcvs/JO8GZFqHKEGeX/GUPZHFph8EZbVETeCNyjFs7ZbpRf/GLWJSlMa FS2/YALXnGBel00vXEIU5CDiHLWuDqYSJcA+x97ISsc2PHS22dMzhwqRlvkGW47hunqw ZpVZbtolB81W16buzL/OVx/pPGreVZH08OcwC36/yJKDv4kGBmdXzNdbzsY54ltf7LzN aVabA7rq6eEhal7CKGz11GzN/oqQCvqskCh27USjGFVY+lPufwYT8e1VD8RDF0P1sWz1 o9b/2h9ZrpQG4RpkxTrdJvtM7fkpYF4og4IqPNdJZ9xMwvOG2Joy9j+B2p63dLsZCR8H cF9w== X-Received: by 10.194.222.98 with SMTP id ql2mr3214090wjc.10.1415259704091; Wed, 05 Nov 2014 23:41:44 -0800 (PST) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id gy4sm7236302wib.11.2014.11.05.23.41.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Nov 2014 23:41:43 -0800 (PST) From: Dmitry Eremin-Solenikov To: Russell King Cc: linux-pcmcia@lists.infradead.org, linux-fbdev@vger.kernel.org, Andrea Adami , Linus Walleij Subject: [PATCH RESEND 2/5] arm: sa1100: add a clock alias for sa1111 pcmcia device Date: Thu, 6 Nov 2014 10:41:14 +0300 Message-Id: <1415259677-18770-3-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1415259677-18770-1-git-send-email-dbaryshkov@gmail.com> References: <1415259677-18770-1-git-send-email-dbaryshkov@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, SUSPICIOUS_RECIPS, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP SA-1111 uses internal MMIO space offsets as a device name, so device name for sa1111 pcmcia is 1800 (PCMCIA is at offset 0x1800). Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/clock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-sa1100/clock.c b/arch/arm/mach-sa1100/clock.c index 53f750d..03c75a8 100644 --- a/arch/arm/mach-sa1100/clock.c +++ b/arch/arm/mach-sa1100/clock.c @@ -124,6 +124,8 @@ static struct clk_lookup sa11xx_clkregs[] = { CLKDEV_INIT("sa1100-rtc", NULL, NULL), CLKDEV_INIT("sa11x0-fb", NULL, &clk_cpu), CLKDEV_INIT("sa11x0-pcmcia", NULL, &clk_cpu), + /* sa1111 names devices using internal offsets, PCMCIA is at 0x1800 */ + CLKDEV_INIT("1800", NULL, &clk_cpu), }; static int __init sa11xx_clk_init(void)