[PATCH v4 02/10] pwm: Allow chips to support multiple PWMs.
H Hartley Sweeten
hartleys at visionengravers.com
Wed Mar 14 20:42:31 EDT 2012
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
More information about the linux-arm-kernel
mailing list