On Wednesday, March 14, 2012 1:50 PM, Thierry Reding wrote: > * H Hartley Sweeten wrote: >> On Wednesday, March 14, 2012 8:56 AM, Thierry Reding wrote: > [...] >>> +#ifdef CONFIG_DEBUG_FS >>> + void (*dbg_show)(struct pwm_chip *chip, >>> + struct seq_file *s); >>> +#endif >> >> This doesn't compile... >> >> include/linux/pwm.h:87: warning: 'struct seq_file' declared inside parameter >> list >> include/linux/pwm.h:87: warning: its scope is only this definition or >> declaration, which is probably not what you want > > Okay, pwm.h probably needs a seq_file.h include. Thanks for noticing.
Or just a: struct seq_file; Regards, Hartley _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
