Magnus, On Fri, 2014-06-06 at 19:44 +0900, Magnus Damm wrote: > From: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> > > Add the emxx_udc driver to staging based on an old linux-2.6.35.7 > android tree. The driver has been brushed up slightly to complile > but it is still in great need of cleanup. > > At this point DT bindings are clearly lacking and I doubt that the > driver even can run with multiple instances (global variables, hurray!). > > Signed-off-by: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> > --- This patch appeared in linux-next (ie, next-20140620). >[...] > --- /dev/null > +++ work/drivers/staging/emxx_udc/emxx_udc.h 2014-05-22 12:21:03.000000000 +0900 > @@ -0,0 +1,662 @@ >[...] > +/*------- (0x1010) EPCTR Register */ > +#define DIRPD BIT12 /* RW */ > + > +#define VBUS_LEVEL BIT08 /* R */ > + > +#define PLL_RESUME BIT05 /* RW */ > +#define PLL_LOCK BIT04 /* R */ > + > +#ifdef CONFIG_MACH_EMGR > +#define PLL_RST BIT02 /* RW */ > +#endif There's no Kconfig symbol MACH_EMGR. There's also no preprocessor define of CONFIG_MACH_EMGR. Even web searches didn't tell me what MACH_EMGR could be. Anyhow, this check always evaluates to false. Should I draft a trivial patch to remove it? But PLL_RST is unused too. Would you like to keep it? (I didn't catch this when I first received this patch. One needs to parse the entire tree to find stuff like this, and there are way too many patchsets flying by to do treewide searches for all of them. So I just try to keep up with linux-next, to at least catch things before they enter mainline.) Paul Bolle _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel