Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751917Ab1BHGjC (ORCPT ); Tue, 8 Feb 2011 01:39:02 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:41374 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750923Ab1BHGjA (ORCPT ); Tue, 8 Feb 2011 01:39:00 -0500 Date: Tue, 08 Feb 2011 15:38:21 +0900 From: Jaehoon Chung Subject: Re: [PATCH v4] dw_mmc: Add Synopsys DesignWare mmc host driver. In-reply-to: To: Will Newton Cc: Jaehoon Chung , Chris Ball , Linux Kernel list , linux-mmc@vger.kernel.org, Matt Fleming , linux-arm-kernel@lists.infradead.org Message-id: <4D50E4DD.4030500@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.24 (X11/20100317) References: <20101208115510.GD10998@console-pimps.org> <20101209064751.GA21128@void.printf.net> <20101209160157.GA28586@void.printf.net> <20101211192320.GA24430@void.printf.net> <4D354752.3030401@samsung.com> X-OriginalArrivalTime: 08 Feb 2011 06:38:24.0602 (UTC) FILETIME=[C9280BA0:01CBC75A] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1175 Lines: 35 Hi Will.. I need your help for your code.. In dw_mmc.h, exist some function pointer.. int *get_ro(u32 slot_id); int *get_cd(u32 slot_id); ... Just only need slot_id?? If i need the "struct dw_mci", could i append the parameter? Will Newton wrote: > On Tue, Jan 18, 2011 at 7:54 AM, Jaehoon Chung wrote: >> Hi Will. >> >> I have some question...i'm testing dw_mmc in our environment. >> but i didn't understand pdata->init(?)...what initialize in there? > > In most of our platforms init is empty so I guess it would be fine to > change that code to ignore a null init pointer. An example of one of > the things we do use the init function for is to switch pins to GPIO > to handle card detect. > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/