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: 14963 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 2EEB023FC2 for ; Mon, 18 Feb 2013 09:03:07 +0000 (UTC) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by fiordland.canonical.com (Postfix) with ESMTP id D4BD1A18F65 for ; Mon, 18 Feb 2013 09:03:06 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id p16so3441293vcq.1 for ; Mon, 18 Feb 2013 01:03:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=QxCkCUeACHV3SkoyTNw2qu30cS6YPdNeXWH18zE2MB8=; b=nQOb1DKa6CdqrM1NBQxD6VUvrNUBtUeCc1ZwERTB6DTYu9ZoUeSfpmukBuLSvneQ6a hTh0yVer+0XeqGgF1Amyy9W9rSSuye/l8ExqaTB7Etrm+FYWYAyvj2tmdcyF9NF6qR2B CuPs4GJ61KUpAhXwsljliGlEVGULczJyHB6mH51e+EniQ68pjI/RHDqWLcHOU8KGN5Xc kyiGzuSDzLlyDwFhcsZcTWWfIl9SKXiqkuUtzSjzQ7xas/n8Z8m7t+5D/xWm4BnRRCm/ d083ZrIW3xOM1wq8pQ0wDIm/Jaba4tZKWrxhUEmSTHOhFf4xxxugYw+EAcswLR3RSdPe iViw== X-Received: by 10.52.29.18 with SMTP id f18mr8000100vdh.57.1361178186346; Mon, 18 Feb 2013 01:03:06 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp78675veb; Mon, 18 Feb 2013 01:03:05 -0800 (PST) X-Received: by 10.68.6.167 with SMTP id c7mr28368405pba.24.1361178185193; Mon, 18 Feb 2013 01:03:05 -0800 (PST) Received: from mail-da0-f47.google.com (mail-da0-f47.google.com [209.85.210.47]) by mx.google.com with ESMTPS id tv4si12124195pbc.5.2013.02.18.01.03.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Feb 2013 01:03:05 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.47 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.47; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.47 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-da0-f47.google.com with SMTP id s35so2420844dak.34 for ; Mon, 18 Feb 2013 01:03:03 -0800 (PST) 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: ALoCoQne3t0iNu3diOdQJunbmH+G94PWzQBXlYEeYO12usb7TUyuu+AOo+GcOgO/Tsovs/G0SYHd 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;