ASoC: fsl: Add explicit include of of.h
Subsystems (3)
Mark Brown
maintainerPATCH 1/1 ASoC: fsl: Add explicit include of of.h
From: Mark Brown <[email protected]>
Hopefully fixing a build failure reported by Stephen Rothwell - though quite why the other OF headers don't include this as well I'm not sure.
--- sound/soc/fsl/fsl_ssi.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/fsl/fsl_ssi.c +1 -0
@@ -40,6 +40,7 @@#include <linux/delay.h> #include <linux/slab.h> #include <linux/spinlock.h> +#include <linux/of.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/of_platform.h>
Signature · 1 line
1.9.1
Hi Mark,
Quoted 5 lines · On Tue, 15 Apr 2014 12:12:06 +0100 Mark Brown <[email protected]> wrote:
From: Mark Brown <[email protected]>
Hopefully fixing a build failure reported by Stephen Rothwell - though quite why the other OF headers don't include this as well I'm not sure.
This did not fix the problem. The declarations (and presumably the implementations) all depend on CONFIG_OF which is not set for the x86_64 allmodconfig build ...
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Mark Brown
maintainerQuoted 10 lines · Stephen Rothwell
Quoted 4 lines · On Tue, 15 Apr 2014 12:12:06 +0100 Mark Brown <[email protected]> wrote:
From: Mark Brown <[email protected]>
Hopefully fixing a build failure reported by Stephen Rothwell - though quite why the other OF headers don't include this as well I'm not sure.
This did not fix the problem. The declarations (and presumably the implementations) all depend on
CONFIG_OFwhich is not set for thex86_64allmodconfig build ...
Oh, sorry. For some reason I thought this was a PowerPC thing. In any case a stub is now being provided by OF (which is in my tree temporarily)