ASoC: Use correct include file for gpiolib in N810 machine driver
PATCH 1/2 ASoC: Use correct include file for gpiolib in N810 machine driver
--- sound/soc/omap/n810.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/omap/n810.c +1 -1
@@ -30,7 +30,7 @@#include <asm/mach-types.h> #include <asm/arch/hardware.h> -#include <asm/gpio.h> +#include <linux/gpio.h> #include <asm/arch/mcbsp.h> #include "omap-mcbsp.h"
Signature · 1 line
1.5.5.3
PATCH 2/2 ASoC: Cover also Nokia N810 WiMAX Edition in N810 machine driver
--- sound/soc/omap/n810.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/omap/n810.c +1 -1
@@ -265,7 +265,7 @@ static int __init n810_soc_init(void)int err;struct device *dev; -if (!machine_is_nokia_n810 ()) +if (!(machine_is_nokia_n810 () ||machine_is_nokia_n810_wimax ()))return -ENODEV ; n810_snd_device =platform_device_alloc ("soc-audio" ,-1 );
Signature · 1 line
1.5.5.3
sound/soc/omap/n810.c line 33
Quoted 3 lines · Jarkko Nikula
#include <
asm/arch/hardware.h>sound/soc/omap/n810.c +1
-1-#include <asm/gpio.h> +#include <linux/gpio.h>
This appears to already be done that way in ALSA git?
Quoted 8 lines · On Wed, 11 Jun 2008 13:11:50 +0100 "ext Mark Brown"…
sound/soc/omap/n810.c line 33
Quoted 3 lines · Jarkko Nikula
#include <
asm/arch/hardware.h>sound/soc/omap/n810.c +1
-1-#include <asm/gpio.h> +#include <linux/gpio.h> This appears to already be done that way in ALSA git?
Ah, it seems that my first version of gpiolib conversion patch went into asoc-dev and Takashi took the second correct one.
http://mailman.alsa-project.org/pipermail/alsa-devel/2008-May/007829.html
http://mailman.alsa-project.org/pipermail/alsa-devel/2008-May/007842.html
Probably this is worth to apply into asoc-dev in order to avoid merge conflict but not queue this back?
Jarkko
Quoted 2 lines · Jarkko Nikula
Probably this is worth to apply into asoc-dev in order to avoid merge conflict but not queue this back?
I've already fixed this in the dev branch and queued your other fix with a batch of other stuff I'm about to mail out.