Skip to contentSkip to conversation

ASoC: fsl: Add explicit include of of.h

PATCH In review Mark Brown 2 participants 3 messages Apr 15, 2014 – Apr 16, 2014

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 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
index 5428a1fda260..2fbbd8416c00 100644
@@ -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
#1 lore raw

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]
author maintainer
#2 lore raw
Quoted 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_OF which is not set for the x86_64 allmodconfig 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)