On Thu, Feb 05, 2015 at 12:53:41PM -0800, Kenneth Westfield wrote: > +#define __LPASS_H__ > + > +#define LPASS_AHBIX_CLOCK_FREQUENCY 131072 > + > +/* Both the CPU DAI driver and platform driver will access this data */ > +struct lpass_data { > + > + /* clocks inside the low-power audio subsystem (LPASS) domain */ > + struct clk *ahbix_clk; This uses struct clk so it needs at least a forward declaration of it if not just a straight inclusion of linux/clk.h. There's several other types and annotations that are referenced without an include to ensure the compiler knows about them, the general idea is to avoid implicit dependencies and thee surprising build breaks they cause.
Attachment:
signature.asc
Description: Digital signature