From patchwork Wed Dec 19 17:19:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 13661 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3D9A123E2D for ; Wed, 19 Dec 2012 17:19:57 +0000 (UTC) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) by fiordland.canonical.com (Postfix) with ESMTP id 54255A18DAF for ; Wed, 19 Dec 2012 17:19:56 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id k14so3186399iea.24 for ; Wed, 19 Dec 2012 09:19:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=atnsybD6BpN0Amq15jj57SKXdqORnhpBIo2WjldasL4=; b=dxKKlZFrrJI0LustQPdiOqLfwNIjL/UZ0qO0jol5MQB+QwXgfIYD+jVQ8SrZg9jgwQ xFgfff/nEljABDXwK031/ZxrIyfs50WyaKMOWcQZZdKKVk24QCXGauGyhyFDw9Z+e1qx RI4CQJdLNhfkehuPb9GMCT0clg5cwnakZM9+KTfM4krKRylnKv3Fri8LTukVuMyEei3/ hZ5IlpiWJxrBC6XODA6UCIhXYzXHSzDQD+F6jkJ1gF8znbkWhBeatoYNvvvlO7knG5mh LNRyTgc5/MOoZel3iLS/RUUh5cXiP7sBNwdwNn93Dv/LSxqD5T+vszhCd4UfE/ZqyjRf unsA== X-Received: by 10.42.75.6 with SMTP id y6mr6611772icj.30.1355937595681; Wed, 19 Dec 2012 09:19:55 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.115 with SMTP id m19csp251267igt; Wed, 19 Dec 2012 09:19:55 -0800 (PST) X-Received: by 10.180.84.131 with SMTP id z3mr5290541wiy.25.1355937594193; Wed, 19 Dec 2012 09:19:54 -0800 (PST) Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by mx.google.com with ESMTPS id ex6si9247575wib.22.2012.12.19.09.19.53 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Dec 2012 09:19:54 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.177 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.177; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.177 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-we0-f177.google.com with SMTP id x48so1070236wey.8 for ; Wed, 19 Dec 2012 09:19:53 -0800 (PST) X-Received: by 10.180.92.74 with SMTP id ck10mr13051508wib.9.1355937593607; Wed, 19 Dec 2012 09:19:53 -0800 (PST) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id i2sm21415170wiw.3.2012.12.19.09.19.52 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Dec 2012 09:19:52 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones , Mike Turquette , Ulf Hansson Subject: [PATCH 2/4] clk: ux500: Ensure the FMSC clock is obtainable Date: Wed, 19 Dec 2012 17:19:45 +0000 Message-Id: <1355937587-31730-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1355937587-31730-1-git-send-email-lee.jones@linaro.org> References: <1355937587-31730-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmoodY8XCMDdjyyntLz2OGFvfZHGT5K9VL6xMBRnrUKaIWfYPb0ak0IP3icyybjjwJ6h5mM The FMSC clock is traditionally used for NAND flash devices when used on the ux500 series platforms. This patch makes it searchable during a clock-name search. Cc: Mike Turquette Cc: Ulf Hansson Signed-off-by: Lee Jones --- drivers/clk/ux500/u8500_clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/ux500/u8500_clk.c b/drivers/clk/ux500/u8500_clk.c index 6b889a0..a601802 100644 --- a/drivers/clk/ux500/u8500_clk.c +++ b/drivers/clk/ux500/u8500_clk.c @@ -324,7 +324,7 @@ void u8500_clk_init(void) clk = clk_reg_prcc_pclk("p3_pclk0", "per3clk", U8500_CLKRST3_BASE, BIT(0), 0); - clk_register_clkdev(clk, NULL, "fsmc"); + clk_register_clkdev(clk, "fsmc", NULL); clk = clk_reg_prcc_pclk("p3_pclk1", "per3clk", U8500_CLKRST3_BASE, BIT(1), 0);