From patchwork Thu Jul 19 15:19:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 1217771 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 7641CDF24C for ; Thu, 19 Jul 2012 15:19:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751855Ab2GSPTL (ORCPT ); Thu, 19 Jul 2012 11:19:11 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:55946 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751516Ab2GSPTK (ORCPT ); Thu, 19 Jul 2012 11:19:10 -0400 Received: from epcpsbgm2.samsung.com (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M7E001MPYJLRYH0@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Fri, 20 Jul 2012 00:19:09 +0900 (KST) X-AuditID: cbfee61b-b7f566d000005c8a-2a-5008256df9f5 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 87.C6.23690.D6528005; Fri, 20 Jul 2012 00:19:09 +0900 (KST) Received: from [10.90.51.55] by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M7E00NHOYJW0530@mmp1.samsung.com> for linux-mmc@vger.kernel.org; Fri, 20 Jul 2012 00:19:09 +0900 (KST) Message-id: <50082569.8030002@samsung.com> Date: Fri, 20 Jul 2012 00:19:05 +0900 From: Jaehoon Chung User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-version: 1.0 To: linux-mmc Cc: Chris Ball , Will Newton , James Hogan , Kyungmin Park , Shashidhar Hiremath Subject: [PATCH] mmc: dw-mmc: fixed secstion mismatch in reference Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprELMWRmVeSWpSXmKPExsVy+t9jAd1cVY4Ag9s90hZH/vczOjB6fN4k F8AYxWWTkpqTWZZapG+XwJXxZtML1oJ1HBWTWo+wNTBOYO9i5OSQEDCR6J19nAnCFpO4cG89 WxcjF4eQwCJGiYVPr0A57UwS0+5cYu5i5ODgFdCS+HneAaSBRUBVonXKQlYQm01AR2L7N4hB ogJhEq/u/mQDsXkFBCV+TL7HAmKLCGhKdG5fCTaTWeA8o8SLlnnMIAlhASeJ982XwIqYgQbt b53GBmHLS2xe85Z5AiPfLCSzZiEpm4WkbAEj8ypG0dSC5ILipPRcI73ixNzi0rx0veT83E2M 4JB6Jr2DcVWDxSFGAQ5GJR7eDn32ACHWxLLiytxDjBIczEoivJsVOQKEeFMSK6tSi/Lji0pz UosPMUpzsCiJ85p4f/UXEkhPLEnNTk0tSC2CyTJxcEo1MBb//7hwU/PRkJiToUF6Wya+P1jE b1Ojmn10geiR53W7LoSlbfMu3PXESejUyrgJrzverAvcoOSw5fcbm75121jvi7dM6LHwOCiQ Wnxmg3ojp99RmfVSsTd2tgZvuCuwxvlL5ZG3z1xaVmzdekysQajoTV71ou0CRUnP+t6/UgwS uHlBcb3ZsxlKLMUZiYZazEXFiQBnqrUaJQIAAA== X-TM-AS-MML: No Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Fixed the below message. WARNING: drivers/mmc/host/built-in.o(.text+0x5ee8): Section mismatch in reference from the function dw_mci_probe() to the function .init.text:dw_mci_init_slot() The function dw_mci_probe() references the function __init dw_mci_init_slot(). This is often because dw_mci_probe lacks a __init annotation or the annotation of dw_mci_init_slot is wrong Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- drivers/mmc/host/dw_mmc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 72dc3cd..7955eba 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -1760,7 +1760,7 @@ static void dw_mci_work_routine_card(struct work_struct *work) } } -static int __init dw_mci_init_slot(struct dw_mci *host, unsigned int id) +static int dw_mci_init_slot(struct dw_mci *host, unsigned int id) { struct mmc_host *mmc; struct dw_mci_slot *slot;