Re: [PATCH 20/45] usb: musb: Fix compile error for omaps for musb_hdrc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Sergei Shtylyov <sshtylyov@xxxxxxxxxx> [100519 08:49]:
> Hello.
> 
> Greg KH wrote:
> 
> >>Hello.
> 
> >>Greg Kroah-Hartman wrote:
> 
> >>   Aha! Here's the offending patch...
> >>
> >>>From: Tony Lindgren <tony@xxxxxxxxxxx>
> >>>CONFIG_ARCH_OMAP34XX is now CONFIG_ARCH_OMAP3.
> >>>But since drivers/usb/musb/omap2430.c use CONFIG_PM for these
> >>>registers and functions, do the same for the header.
> >>   The original code had OMAP #ifdef for a good reason. You broke
> >>linking for the other MUSB platforms (DaVinci, Blackfin) when
> >>CONFIG_PM=y with this change!

Oops, sorry. I guess I was trying to be smart and see where those registers
were being used.. I'll check if we can set that to CONFIG_ARCH_OMAP2PLUS
to cover omap2 & 3 and 4. Will post a fix soon.

> >>>Otherwise we get the following for most omap3 defconfigs:
> >>>drivers/usb/musb/omap2430.c:261: error: expected identifier or '(' before 'do'
> >>>drivers/usb/musb/omap2430.c:261: error: expected identifier or '(' before 'while'
> >>>drivers/usb/musb/omap2430.c:268: error: expected identifier or '(' before 'do'
> >>>drivers/usb/musb/omap2430.c:268: error: expected identifier or '(' before 'while'
> >>>Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
> >>>Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
> >>>Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
> >>   I wonder how this stupid patch got accepted...
> 
> >You are _this_ close to being added to my kill filter...
> 
>    Sorry, probably was too much. Wasn't aimed at you anyway. I could
> have noticed this back then, 2 months ago.

I should have noted that too initially :)

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux