From patchwork Thu Apr 10 08:24:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3960371 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 196DA9F375 for ; Thu, 10 Apr 2014 08:25:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4269420632 for ; Thu, 10 Apr 2014 08:25:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 591C020513 for ; Thu, 10 Apr 2014 08:25:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965599AbaDJIZr (ORCPT ); Thu, 10 Apr 2014 04:25:47 -0400 Received: from mail-pb0-f47.google.com ([209.85.160.47]:48500 "EHLO mail-pb0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965598AbaDJIZp (ORCPT ); Thu, 10 Apr 2014 04:25:45 -0400 Received: by mail-pb0-f47.google.com with SMTP id up15so3673698pbc.20 for ; Thu, 10 Apr 2014 01:25:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AW2uJoshyzl0p/VXj0vlMAyVGn6x48v54WEkrWwcPHI=; b=Uehf2OMWuBLuvenytDrPTXO6YG90ZFMXZQUnL7981pd/UDQx3G5/Ghqcl9A+JqMFCL pZhYTln6PZV49fU+7eAjref+PfQ8OOwWivG9V0N8/r/OngtQbdThFMSMN97Xfw2cAVMG l43qai6VJvV78ZA9tFJg+RLVWQfV+fV9yVPMO4eSOWqhqU1/6TJhwZ7DnUUDiR0CZnLM I8iSrFFut2HPQp49+yEJfAHHbRKGIIAjVXFe7Gep8EBq3RUK4p0lbYPeSNIVYQXptptW TLieNKz1NnjOuKWNns6UwMQD9lIiPn7og8CBC8/xVl16U/4rzXEbQywdgYqjxX9XPV/2 kmkA== X-Gm-Message-State: ALoCoQnueRqHMuutl/PjfU2aofpDMGKew3f2X45VLtAmmAwGxj81FNweL6RY1LhL9zvfw9ovCaGG X-Received: by 10.68.197.99 with SMTP id it3mr17736046pbc.37.1397118345315; Thu, 10 Apr 2014 01:25:45 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id zv3sm17093797pab.20.2014.04.10.01.25.42 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Apr 2014 01:25:44 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, kgene.kim@samsung.com, sachin.kamat@linaro.org Subject: [PATCH 2/6] ARM: EXYNOS: Staticize exynos_subsys Date: Thu, 10 Apr 2014 13:54:52 +0530 Message-Id: <1397118296-6846-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1397118296-6846-1-git-send-email-sachin.kamat@linaro.org> References: <1397118296-6846-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 'exynos_subsys' is now local to this file. Make it static and remove the declaration from header file. Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos/exynos.c | 2 +- arch/arm/plat-samsung/include/plat/cpu.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 6a5fe18ec9b1..0ef42b9efd36 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -284,7 +284,7 @@ void __init exynos_init_io(void) of_scan_flat_dt(exynos_fdt_map_sysram, NULL); } -struct bus_type exynos_subsys = { +static struct bus_type exynos_subsys = { .name = "exynos-core", .dev_name = "exynos-core", }; diff --git a/arch/arm/plat-samsung/include/plat/cpu.h b/arch/arm/plat-samsung/include/plat/cpu.h index 5992b8dd9b89..930b4be832cd 100644 --- a/arch/arm/plat-samsung/include/plat/cpu.h +++ b/arch/arm/plat-samsung/include/plat/cpu.h @@ -239,7 +239,6 @@ extern struct bus_type s3c2443_subsys; extern struct bus_type s3c6410_subsys; extern struct bus_type s5p64x0_subsys; extern struct bus_type s5pv210_subsys; -extern struct bus_type exynos_subsys; extern void (*s5pc1xx_idle)(void);