lkml.org 
[lkml]   [2011]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH] Input: tnetv107x-ts - add missing include of linux/module.h
    From
    Date
    tnetv107x-ts.c uses interfaces from linux/module.h,
    so it should include that file. This patch fixes build errors.

    Signed-off-by: Axel Lin <axel.lin@gmail.com>
    ---
    drivers/input/touchscreen/tnetv107x-ts.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/drivers/input/touchscreen/tnetv107x-ts.c b/drivers/input/touchscreen/tnetv107x-ts.c
    index 089b0a0..0e8f63e 100644
    --- a/drivers/input/touchscreen/tnetv107x-ts.c
    +++ b/drivers/input/touchscreen/tnetv107x-ts.c
    @@ -13,6 +13,7 @@
    * GNU General Public License for more details.
    */

    +#include <linux/module.h>
    #include <linux/kernel.h>
    #include <linux/err.h>
    #include <linux/errno.h>
    --
    1.7.4.1




    \
     
     \ /
      Last update: 2011-08-21 10:47    [W:0.021 / U:0.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site