From patchwork Sat Jan 24 20:28:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Semen Protsenko X-Patchwork-Id: 5700221 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0F6DB9F305 for ; Sat, 24 Jan 2015 20:29:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4082B202BE for ; Sat, 24 Jan 2015 20:29:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6A03F202EB for ; Sat, 24 Jan 2015 20:29:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752666AbbAXU3X (ORCPT ); Sat, 24 Jan 2015 15:29:23 -0500 Received: from exprod5og106.obsmtp.com ([64.18.0.182]:57493 "EHLO exprod5og106.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750789AbbAXU3V (ORCPT ); Sat, 24 Jan 2015 15:29:21 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]) (using TLSv1) by exprod5ob106.postini.com ([64.18.4.12]) with SMTP ID DSNKVMQAoHRY60nZKLarpD23vLe/R68u0wFn@postini.com; Sat, 24 Jan 2015 12:29:21 PST Received: by mail-wi0-f172.google.com with SMTP id h11so3276881wiw.5 for ; Sat, 24 Jan 2015 12:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=globallogic.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MTWr3rrziH3Y3+qImd4vOL0Ao9iXci3wi7RvIMg3c2E=; b=Wu26EhMnCu51DNIMoVZ5npdfycpws7BtVBaad0v1boPqnpJUpyWsizvPHcRqQPFitj BWNyXJu/G56fPx7Y8ryrHFJl6uFYfF4anorwxdbEfji4Fs1LbPeAhloOSg42R+AqEwP8 +ArIE4/ezVMrpQCSTbkqD1Y8gaOj+sUuXLxnk= 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=MTWr3rrziH3Y3+qImd4vOL0Ao9iXci3wi7RvIMg3c2E=; b=AVPATjhPu1fKQ9yMwF83y+jyYGmv3quyuSBdIO5ah/Imb6LoJ9reaRDgHVeRxJl4UI 1FjnEXp6AV/syCBYdRJQxjgB7/sH25ms3wDPTFJE3ufh9VwN5YBAu8HOJkQhI4mZ/guY 1cE73hiFIIXMvWo9FBMKsH6JQaNe8BY45BOkpIMayfShrYjw7RLUWXqe/XKvhV3lVWDU DoaeKzvSkb1/WfE4R5XRmXxnmhcCngd8liNA8CBcgvX9t+di476HPvMMEhfdO+eMSzqp igyNyWm4A+qn/ik0Q023dao6zW5ACelMVwVbqwaU5ShlwJbHmGhYwNLjMmHxEfcNDJ7b gGuA== X-Gm-Message-State: ALoCoQlxjtMGELk7pq3APU+guVrIeHh9r+kjMWl4zoU5xgCXAcQ/2VQruHDdX5gGg2WFQ8E/b06/gALB0Um9bemhcgyAj3iaaNluYDGKNiAhkJdJHZg+gStie2sQw9S1orj8pyGC3R2MwbcsjLHT9DVGPTPZzNCIfQ== X-Received: by 10.194.79.226 with SMTP id m2mr27409989wjx.60.1422131359550; Sat, 24 Jan 2015 12:29:19 -0800 (PST) X-Received: by 10.194.79.226 with SMTP id m2mr27409980wjx.60.1422131359479; Sat, 24 Jan 2015 12:29:19 -0800 (PST) Received: from localhost ([195.238.92.132]) by mx.google.com with ESMTPSA id ej10sm7170648wib.2.2015.01.24.12.29.18 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 24 Jan 2015 12:29:18 -0800 (PST) From: Semen Protsenko To: Roger Quadros , Tony Lindgren Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] ARM: OMAP2+: gpmc: make gpmc_cs_get_name() static Date: Sat, 24 Jan 2015 22:28:39 +0200 Message-Id: <1422131320-1018-2-git-send-email-semen.protsenko@globallogic.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1422131320-1018-1-git-send-email-semen.protsenko@globallogic.com> References: <1422131320-1018-1-git-send-email-semen.protsenko@globallogic.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_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 Fix sparse warning: warning: symbol 'gpmc_cs_get_name' was not declared. Should it be static? Signed-off-by: Semen Protsenko Acked-by: Roger Quadros Acked-by: Tony Lindgren --- drivers/memory/omap-gpmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index 10eb4ac..db77adb 100644 --- a/drivers/memory/omap-gpmc.c +++ b/drivers/memory/omap-gpmc.c @@ -668,7 +668,7 @@ static void gpmc_cs_set_name(int cs, const char *name) gpmc->name = name; } -const char *gpmc_cs_get_name(int cs) +static const char *gpmc_cs_get_name(int cs) { struct gpmc_cs_data *gpmc = &gpmc_cs[cs];