From patchwork Mon Feb 18 08:53:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2156611 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 26DE43FCFC for ; Mon, 18 Feb 2013 09:03:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751885Ab3BRJDG (ORCPT ); Mon, 18 Feb 2013 04:03:06 -0500 Received: from mail-da0-f52.google.com ([209.85.210.52]:46935 "EHLO mail-da0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751690Ab3BRJDE (ORCPT ); Mon, 18 Feb 2013 04:03:04 -0500 Received: by mail-da0-f52.google.com with SMTP id f10so2344563dak.11 for ; Mon, 18 Feb 2013 01:03:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=QxCkCUeACHV3SkoyTNw2qu30cS6YPdNeXWH18zE2MB8=; b=NQOsxbbfidM/hLBsXnRcOayC7yJqKC1tn2faBjWh+Q/uqz1k/RNtWRGf7UBoognwTh p8JjTlJp5TrBmktdt+TxwEPX7+JBTBolSYd/YT0KoY3ahgAKZHbabD7ei78hv8k4gi0u 284clzUM7I1SKd/ylpa0uVOXLGY8kzLpNZM5p+TNgVj/vC1JqHKU/z/t9HC0lz/AjKex 1hJkOqM//OnL0T0HGnt6pkkFIdrC33pmo6K6OgzIdbBFa8J8DY+MmdYkf0JIDULaJcvd LOpPIGKMp6Zh6WSjMOeerilMJcqXtJHzmOe0bvvvoUrsVNbK0MFZnBrAxDxeer8EkcoS uV8g== X-Received: by 10.68.135.68 with SMTP id pq4mr27926436pbb.12.1361178183664; Mon, 18 Feb 2013 01:03:03 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id t4sm61850308pax.0.2013.02.18.01.03.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 18 Feb 2013 01:03:03 -0800 (PST) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: cjb@laptop.org, jh80.chung@samsung.com, sachin.kamat@linaro.org, patches@linaro.org, tgih.jun@samsung.com Subject: [PATCH 1/2] mmc: dw_mmc: Make dw_mci_exynos_probe static Date: Mon, 18 Feb 2013 14:23:08 +0530 Message-Id: <1361177589-23953-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkMNq6nSpssw940DyQF00Z44/6zwRdrlgLuGLqflKFJ3ApX4sq0Awd+h7WQY+YhlVfMBDxn Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Silences the following sparse warning: drivers/mmc/host/dw_mmc-exynos.c:218:5: warning: symbol 'dw_mci_exynos_probe' was not declared. Should it be static? Signed-off-by: Sachin Kamat Acked-by: Jaehoon Chung Acked-by: Seungwon Jeon --- drivers/mmc/host/dw_mmc-exynos.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 72fd0f2..5a09c77 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -215,7 +215,7 @@ static const struct of_device_id dw_mci_exynos_match[] = { }; MODULE_DEVICE_TABLE(of, dw_mci_exynos_match); -int dw_mci_exynos_probe(struct platform_device *pdev) +static int dw_mci_exynos_probe(struct platform_device *pdev) { const struct dw_mci_drv_data *drv_data; const struct of_device_id *match;