From patchwork Wed Aug 7 22:39:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 18844 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 41A9B246B3 for ; Wed, 7 Aug 2013 22:40:12 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id 15sf1907738vea.5 for ; Wed, 07 Aug 2013 15:40:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe:content-type:content-transfer-encoding; bh=kOaksR/M6hzAohavwLaw2G5AHa7zd5y4gLDwku5NLZw=; b=QpUbX7/A7OPl+/iXOK72VAPxmzjg/FnhSlUG7HyYJdckktbOlrZpCps1TNyMplOAWL sNOn0+JZkjft0YEo4D1e2lX3hHjTmrnSDNIjKB8FnExi/2rKHaZAnF5C8tp1J9eQyfZz sT+7iuKUwpGI2cTlIsGo/Nq/6D3U2j50/OfGqmyynOXXM/PzVx6lPHWbp7ZvZiqjJLcv qfYRRHAph7foyfzYjks2+CWAHmbeLEfhIOqq1OgBMcpFcaLbAk+poapHZSapiY8e/C64 MpTlxTmlvoVKHOIuOiiZlD7mL9XsDMxLSn4y8UQivK0uibGWUb+AhCCh6qboGO2Oe5IE PEPg== X-Received: by 10.236.206.105 with SMTP id k69mr2255877yho.8.1375915211776; Wed, 07 Aug 2013 15:40:11 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.4.231 with SMTP id n7ls887023qen.14.gmail; Wed, 07 Aug 2013 15:40:11 -0700 (PDT) X-Received: by 10.52.27.6 with SMTP id p6mr1346785vdg.77.1375915211657; Wed, 07 Aug 2013 15:40:11 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id xs10si2255867vcb.118.2013.08.07.15.40.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 Aug 2013 15:40:11 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 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.174; Received: by mail-ve0-f174.google.com with SMTP id d10so2430972vea.5 for ; Wed, 07 Aug 2013 15:40:11 -0700 (PDT) X-Gm-Message-State: ALoCoQl0preCTPjLiNxlNQFy33gMZ9cbg1PAqjZFFiWTT0RYBD0muK0Nv5N8T/SMaIBE/oOH0Mzm X-Received: by 10.58.128.71 with SMTP id nm7mr1674907veb.51.1375915211500; Wed, 07 Aug 2013 15:40:11 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp225114vcb; Wed, 7 Aug 2013 15:40:10 -0700 (PDT) X-Received: by 10.68.36.38 with SMTP id n6mr3012591pbj.15.1375915210278; Wed, 07 Aug 2013 15:40:10 -0700 (PDT) Received: from mms1.broadcom.com (mms1.broadcom.com. [216.31.210.17]) by mx.google.com with ESMTP id gk2si6299348pbb.199.2013.08.07.15.40.08 for ; Wed, 07 Aug 2013 15:40:10 -0700 (PDT) Received-SPF: neutral (google.com: 216.31.210.17 is neither permitted nor denied by best guess record for domain of markus.mayer@linaro.org) client-ip=216.31.210.17; Received: from [10.9.208.53] by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Wed, 07 Aug 2013 15:36:10 -0700 X-Server-Uuid: 06151B78-6688-425E-9DE2-57CB27892261 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.1.438.0; Wed, 7 Aug 2013 15:40:01 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.1.438.0; Wed, 7 Aug 2013 15:40:01 -0700 Received: from mail.broadcom.com (lbrmn-lnxub70.ric.broadcom.com [10.136.8.215]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 9A128F2D72; Wed, 7 Aug 2013 15:39:59 -0700 (PDT) From: "Markus Mayer" To: "Chris Ball" , "Linux MMC List" cc: "Christian Daudt" , "Linaro Patches" , "Linux Kernel Mailing List" , "Matt Porter" , "Markus Mayer" Subject: [PATCH] mmc: sdhci-bcm-kona: make linker-section warning go away Date: Wed, 7 Aug 2013 15:39:59 -0700 Message-ID: <1375915199-13694-1-git-send-email-markus.mayer@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-WSS-ID: 7E1C145031W81966189-01-01 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: markus.mayer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.174 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This change makes the following build warning go away: [...] LINK vmlinux LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 2 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Signed-off-by: Markus Mayer Reviewed-by: Christian Daudt Reviewed-by: Matt Porter --- drivers/mmc/host/sdhci-bcm-kona.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c index 87175f9..34fd652 100644 --- a/drivers/mmc/host/sdhci-bcm-kona.c +++ b/drivers/mmc/host/sdhci-bcm-kona.c @@ -221,13 +221,13 @@ static struct sdhci_pltfm_data sdhci_pltfm_data_kona = { SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN, }; -static const struct of_device_id sdhci_bcm_kona_of_match[] __initdata = { +static struct __initconst of_device_id sdhci_bcm_kona_of_match[] = { { .compatible = "bcm,kona-sdhci"}, {} }; MODULE_DEVICE_TABLE(of, sdhci_bcm_kona_of_match); -static int __init sdhci_bcm_kona_probe(struct platform_device *pdev) +static int sdhci_bcm_kona_probe(struct platform_device *pdev) { struct sdhci_bcm_kona_dev *kona_dev = NULL; struct sdhci_pltfm_host *pltfm_priv; @@ -336,10 +336,10 @@ static struct platform_driver sdhci_bcm_kona_driver = { .name = "sdhci-kona", .owner = THIS_MODULE, .pm = SDHCI_PLTFM_PMOPS, - .of_match_table = of_match_ptr(sdhci_bcm_kona_of_match), + .of_match_table = sdhci_bcm_kona_of_match, }, .probe = sdhci_bcm_kona_probe, - .remove = __exit_p(sdhci_bcm_kona_remove), + .remove = sdhci_bcm_kona_remove, }; module_platform_driver(sdhci_bcm_kona_driver);