From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH 1/2 v2] ARM: shmobile: lager: add gpio/fixed regulator for SDHI Date: Tue, 19 Nov 2013 13:45:26 +0100 Message-ID: <9182336.4KdqZZkpGQ@avalon> References: <87li0rz3to.wl%kuninori.morimoto.gx@renesas.com> <7870553.GWO3OgcztQ@avalon> <87bo1hdlcs.wl%kuninori.morimoto.gx@renesas.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <87bo1hdlcs.wl%kuninori.morimoto.gx@renesas.com> Sender: linux-sh-owner@vger.kernel.org To: Kuninori Morimoto Cc: Simon , Chris Ball , Magnus , Linux-SH , Kuninori Morimoto , linux-mmc@vger.kernel.org List-Id: linux-mmc@vger.kernel.org Hi Morimoto-san, On Monday 18 November 2013 21:14:15 Kuninori Morimoto wrote: > Hi Laurent > > > > #include > > > #include > > > #include > > > > > > +#include > > > > I might be mistaken, but is this header really needed ? > > Unfortunately, the compile will error without it. > regulator_xxx / REGULATOR_XXX need it I believe you should include regulator/machine.h instead of regulator/driver.h. > > > +static struct fixed_voltage_config vcc_sdhi##idx##_info = { \ > > > > You can make this structure const. > > (snip) > > > > +static struct gpio_regulator_config vccq_sdhi##idx##_info = { \ > > > > You can make this structure const. > > I see. > Thank you -- Regards, Laurent Pinchart