[lkml]   [2008]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: [PATCH 1/6] Core driver for WM97xx touchscreens
    > 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

    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>

     \ /
      Last update: 2008-02-13 05:33    [W:0.020 / U:322.920 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site