David Brownell wrote:
When #include'd alone, <linux/usb/gadget.h>
causes a lot of compilation errors
and warnings -- all because it relies on the
including code to bring in the
necessary #include's instead of doing this
itself.
That's normal,
Right ...
Hardly.
We have different definitions of
normality, it seems. To me, it's not normal when I have to
figure out what to #include in a driver every time just to
satisfy one of the #include's dependencies.
Look at documentation for syscalls and you
will notice they give a list of #includes
which are required. Ergo, "normal".
Give me a list then; document it.
WBR, Sergei
PS: I really didn't expect such opposition to an obvious patch...
--
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