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: 28126 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f200.google.com (mail-yk0-f200.google.com [209.85.160.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 63D3C20671 for ; Thu, 10 Apr 2014 08:25:51 +0000 (UTC) Received: by mail-yk0-f200.google.com with SMTP id q9sf7123392ykb.11 for ; Thu, 10 Apr 2014 01:25:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=T8sZGYOKPZBiSSnixwGKI9VmwTM6DuOfAcA/p9tvXMw=; b=kHk54gvyDLnQc/CPFZfWZIR/miyhRLimeiaj9cTduJ4lKVPAfS69x6DTt1j6Pm/pQh dFKwRl48hPVcDkiyj+Onk+QYsxH/xoe4tMEnURe6/W2aYbJanWyauJWd0mFyQduE0ZMz IrR1b/o1TXiv52nnyW38rKNP06G1HDUw9MVjEXmJA6kCCwT+TecBRTZzytQ8IyXXiNdW jocXedl3oNOzlWIL57QXkfZ2NwxgaTfNZDS0nDoDSeYsFSfjXwSYF8fbCdfydk6OAwiV zXprLu+Ura64LeNgA2z00iiYSWfdlnhroeE/5XL/6dL73QooCF67nq0cgbT1nLclvn7l iJxg== X-Gm-Message-State: ALoCoQkaBIKQu8JWKGqJXLQQU04naegzqYibpx/0joYal18f1qhzn7TbRDeMEazj5+zAWv/1WCJS X-Received: by 10.236.84.141 with SMTP id s13mr7237321yhe.5.1397118351117; Thu, 10 Apr 2014 01:25:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.197 with SMTP id j63ls1036815qgf.89.gmail; Thu, 10 Apr 2014 01:25:51 -0700 (PDT) X-Received: by 10.220.106.84 with SMTP id w20mr13359763vco.18.1397118351012; Thu, 10 Apr 2014 01:25:51 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id o2si579427vew.115.2014.04.10.01.25.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Apr 2014 01:25:51 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so3219543veb.32 for ; Thu, 10 Apr 2014 01:25:50 -0700 (PDT) X-Received: by 10.58.31.136 with SMTP id a8mr13833570vei.20.1397118350949; Thu, 10 Apr 2014 01:25:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp39119vcb; Thu, 10 Apr 2014 01:25:50 -0700 (PDT) X-Received: by 10.66.66.135 with SMTP id f7mr18005932pat.22.1397118350239; Thu, 10 Apr 2014 01:25:50 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gg7si1740384pac.311.2014.04.10.01.25.49; Thu, 10 Apr 2014 01:25:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965599AbaDJIZr (ORCPT + 9 others); 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-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: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , '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);