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: 3960431 Return-Path: X-Original-To: patchwork-linux-arm@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 7BD659F375 for ; Thu, 10 Apr 2014 08:27:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B610B20632 for ; Thu, 10 Apr 2014 08:27:00 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C3D7720513 for ; Thu, 10 Apr 2014 08:26:59 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYAJX-0005Ay-Ds; Thu, 10 Apr 2014 08:26:27 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYAJR-00067i-K5; Thu, 10 Apr 2014 08:26:21 +0000 Received: from mail-pd0-f169.google.com ([209.85.192.169]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYAJC-00063b-Qa for linux-arm-kernel@lists.infradead.org; Thu, 10 Apr 2014 08:26:08 +0000 Received: by mail-pd0-f169.google.com with SMTP id fp1so3562006pdb.14 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=X70yR4KNYQYj0afcj4OgubGndignXkx3Qpb0OPnSBEUd2EGdQj4AtOG9tQoP9riWDp vE6VRQ3Dr2LpLql7rAy2q/IVexnFaQ3bHIx0NFwyfXHaCMi/alK5xoBmtOK9kOdSkiNu nxoH0UdyXqlnlnRYNz1N+CHA46b1CfCqD12nDE6Tk2cAbvjWzOCi8BaxRfRfxVyBNAyc vo0X7A02r696iHXcJv8FqW7CpucT89nowvfh7EDRaFPM0O3X6JCKANMx3L2KDCYCXE4/ nDu6lCCzIsGVgndbZIKpK1H28AOJcYoUxIolXSHezFtG2MpzsQ/sgQ1mOyKXNlOwNu+x 02eQ== X-Gm-Message-State: ALoCoQn5gUF6NZ+KmGA/EY8KLccgyzIdJ/1e3DzE10vB9EUXG+AxzMlzlgYCjjhgADz+adwB5F0M 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140410_042607_292288_A33CD387 X-CRM114-Status: GOOD ( 13.57 ) X-Spam-Score: -1.9 (-) Cc: sachin.kamat@linaro.org, kgene.kim@samsung.com, arnd@arndb.de, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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);