On Thu, Nov 24, 2011 at 05:34:11PM +0530, Rajendra Nayak wrote: > On Thursday 24 November 2011 04:32 PM, Felipe Balbi wrote: > >in the long run we will have DeviceTree creating > >all devices for us. Adding a match table here is > >the first step towards that goal. > > > >Signed-off-by: Felipe Balbi<balbi@xxxxxx> > >--- > > drivers/usb/dwc3/core.c | 8 ++++++++ > > 1 files changed, 8 insertions(+), 0 deletions(-) > > > >diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c > >index 410835e..dab28f1 100644 > >--- a/drivers/usb/dwc3/core.c > >+++ b/drivers/usb/dwc3/core.c > >@@ -515,11 +515,19 @@ static int __devexit dwc3_remove(struct platform_device *pdev) > > return 0; > > } > > > >+static const struct of_device_id of_dwc3_match[] = { > >+ { > >+ "synosys,dwc3", > > Its a good idea to define the vendor prefix here, > Documentation/devicetree/bindings/vendor-prefixes.txt. > > Btw, is that a typo or you meant to say 'synosys'? it was a typo :-) my bad :-) > Also its a good idea to copy the DT mailing list > (devicetree-discuss@xxxxxxxxxxxxxxxx) so the DT > folks can have a look at these too. yeah, I bounced the mail there. -- balbi
Attachment:
signature.asc
Description: Digital signature