Re: [PATCH 1/6] Core driver for WM97xx touchscreens
From: Pete MacKay
Date: Tue Feb 12 2008 - 23:28:44 EST
> This patch series adds support for the touchscreen controllers provided
> by Wolfson Microelectronics WM97xx series chips in both polled and
> streaming modes.
We're using the wm9712 codec with the sound/soc/pxa code configured in and
came across this build error:
In file included from include/linux/wm97xx.h:9,
from drivers/input/touchscreen/wm97xx-core.c:50:
include/sound/core.h:281: error: `SNDRV_CARDS' undeclared here (not in a
function)
I had to apply the following one-line patch to the header:
Index: linux-2.6.24.labquest/include/linux/wm97xx.h
===================================================================
--- linux-2.6.24.labquest.orig/include/linux/wm97xx.h 2008-02-12
20:17:11.000000000 -0800
+++ linux-2.6.24.labquest/include/linux/wm97xx.h 2008-02-12
20:17:39.000000000 -0800
@@ -6,6 +6,7 @@
#ifndef _LINUX_WM97XX_H
#define _LINUX_WM97XX_H
+#include <sound/driver.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/ac97_codec.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/