From patchwork Fri Aug 3 04:38:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 1268481 Return-Path: X-Original-To: patchwork-spi-devel-general@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by patchwork2.kernel.org (Postfix) with ESMTP id D39C6DF25A for ; Fri, 3 Aug 2012 04:39:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Sx9fk-0002Ro-08; Fri, 03 Aug 2012 04:39:36 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Sx9fj-0002Rj-2I for spi-devel-general@lists.sourceforge.net; Fri, 03 Aug 2012 04:39:35 +0000 Received: from mail-gh0-f175.google.com ([209.85.160.175]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Sx9fi-0006aT-7d for spi-devel-general@lists.sourceforge.net; Fri, 03 Aug 2012 04:39:35 +0000 Received: by ghbz2 with SMTP id z2so346426ghb.34 for ; Thu, 02 Aug 2012 21:39:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=C7RNi0mpCl0Wb8PIX3bew7GMREcMiBokfmm/Z8z+Vtc=; b=dlcahE88jl3uCM8U6XkI7/nZjsApFR6PNoZdOKfK61FkG3qAx40V64T9s9SR4Rmf3Z 3kBrcKbtjHI+QcyLmp6xzHz0AZ3/DvxgbdJTAT8MpUYZXpiJEJHET0l2c4omyKFinJxF 0Xpoo2VgU+UsPc9SWoRd3oIiiBpelfOkNaE3X1Nw/662o43A1o0PRNGMI5YxWc1aIQAH xF2tvnbDTZDfFpGj69Lxb5RsisxygWvXEB5DZvpXyS3DM7hvMzkIcxpHVLhaUbIR/Gqv wGB/9e8Akf1IU5GzT6K/HQ3Q9ei26IE4SWlmWUPtPtigchWqJyUeNo8yvqsmm464R96+ PcrQ== Received: by 10.50.217.163 with SMTP id oz3mr959686igc.5.1343968768409; Thu, 02 Aug 2012 21:39:28 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id rd8sm18455427igb.3.2012.08.02.21.39.24 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Aug 2012 21:39:27 -0700 (PDT) From: Sachin Kamat To: spi-devel-general@lists.sourceforge.net Subject: [PATCH] spi/s3c64xx: Add missing static storage class specifiers Date: Fri, 3 Aug 2012 10:08:12 +0530 Message-Id: <1343968692-13691-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQnldqNm+a+zJkctnVxiG8BWCLCARuA5dcAUuIocbURehkTo+tuVqjMIi6jQ0MdDRj4cdqep X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1Sx9fi-0006aT-7d Cc: sachin.kamat@linaro.org, kgene.kim@samsung.com, patches@linaro.org, broonie@opensource.wolfsonmicro.com X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: spi-devel-general-bounces@lists.sourceforge.net Silences the following sparse warnings: drivers/spi/spi-s3c64xx.c:1482:32: warning: symbol 's3c2443_spi_port_config' was not declared. Should it be static? drivers/spi/spi-s3c64xx.c:1489:32: warning: symbol 's3c6410_spi_port_config' was not declared. Should it be static? drivers/spi/spi-s3c64xx.c:1495:32: warning: symbol 's5p64x0_spi_port_config' was not declared. Should it be static? drivers/spi/spi-s3c64xx.c:1501:32: warning: symbol 's5pc100_spi_port_config' was not declared. Should it be static? drivers/spi/spi-s3c64xx.c:1508:32: warning: symbol 's5pv210_spi_port_config' was not declared. Should it be static? drivers/spi/spi-s3c64xx.c:1515:32: warning: symbol 'exynos4_spi_port_config' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/spi/spi-s3c64xx.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index d24ec80..9a86dfe 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -1477,40 +1477,40 @@ static const struct dev_pm_ops s3c64xx_spi_pm = { s3c64xx_spi_runtime_resume, NULL) }; -struct s3c64xx_spi_port_config s3c2443_spi_port_config = { +static struct s3c64xx_spi_port_config s3c2443_spi_port_config = { .fifo_lvl_mask = { 0x7f }, .rx_lvl_offset = 13, .tx_st_done = 21, .high_speed = true, }; -struct s3c64xx_spi_port_config s3c6410_spi_port_config = { +static struct s3c64xx_spi_port_config s3c6410_spi_port_config = { .fifo_lvl_mask = { 0x7f, 0x7F }, .rx_lvl_offset = 13, .tx_st_done = 21, }; -struct s3c64xx_spi_port_config s5p64x0_spi_port_config = { +static struct s3c64xx_spi_port_config s5p64x0_spi_port_config = { .fifo_lvl_mask = { 0x1ff, 0x7F }, .rx_lvl_offset = 15, .tx_st_done = 25, }; -struct s3c64xx_spi_port_config s5pc100_spi_port_config = { +static struct s3c64xx_spi_port_config s5pc100_spi_port_config = { .fifo_lvl_mask = { 0x7f, 0x7F }, .rx_lvl_offset = 13, .tx_st_done = 21, .high_speed = true, }; -struct s3c64xx_spi_port_config s5pv210_spi_port_config = { +static struct s3c64xx_spi_port_config s5pv210_spi_port_config = { .fifo_lvl_mask = { 0x1ff, 0x7F }, .rx_lvl_offset = 15, .tx_st_done = 25, .high_speed = true, }; -struct s3c64xx_spi_port_config exynos4_spi_port_config = { +static struct s3c64xx_spi_port_config exynos4_spi_port_config = { .fifo_lvl_mask = { 0x1ff, 0x7F, 0x7F }, .rx_lvl_offset = 15, .tx_st_done = 25,