[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <51125447.5010209@mvista.com>
Date: Wed, 06 Feb 2013 17:01:59 +0400
From: Sergei Shtylyov <sshtylyov@...sta.com>
To: Kishon Vijay Abraham I <kishon@...com>
CC: gregkh@...uxfoundation.org, tony@...mide.com,
linux@....linux.org.uk, eballetbo@...il.com, javier@...hile0.org,
b-cousson@...com, balbi@...com,
linux-arm-kernel@...ts.infradead.org, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH 2/5] ARM: OMAP: devices: create device for usb part of
control module
Hello.
On 06-02-2013 9:58, Kishon Vijay Abraham I wrote:
> A seperate driver has been added to handle the usb part of control
> module. A device for the above driver is created here, using the register
> address information to be used by the driver for powering on the PHY and
> for writing to the mailbox.
> Signed-off-by: Kishon Vijay Abraham I <kishon@...com>
> Acked-by: Tony Lindgren <tony@...mide.com>
> ---
> arch/arm/mach-omap2/devices.c | 45 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 45 insertions(+)
> diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
> index 626f3ea..6cda103 100644
> --- a/arch/arm/mach-omap2/devices.c
> +++ b/arch/arm/mach-omap2/devices.c
> @@ -20,6 +20,7 @@
[...]
> @@ -254,6 +255,49 @@ static inline void omap_init_camera(void)
[...]
> +static struct platform_device omap4_control_usb = {
> + .name = "omap-control-usb",
> + .id = -1,
> + .dev = {
> + .platform_data = &omap4_control_usb_pdata,
> + },
> + .num_resources = 2,
> + .resource = omap4_control_usb_res,
Either align = or not, not both at once.
> +};
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists