Skip to content

Commit

Permalink
input: hp680_ts compile fixes.
Browse files Browse the repository at this point in the history
Trivial fix to follow the DECLARE_WORK changes, this makes the HD64461
touchscreen driver work properly again. As pointed out by David Howells.

Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Kristoffer Ericson authored and Paul Mundt committed May 14, 2007
1 parent ad05acd commit 049fa57
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/input/touchscreen/hp680_ts_input.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <linux/input.h>
#include <linux/module.h>
#include <linux/init.h>

#include <linux/interrupt.h>
#include <asm/io.h>
#include <asm/delay.h>
Expand All @@ -18,12 +17,12 @@
#define PHDR 0xa400012e
#define SCPDR 0xa4000136

static void do_softint(void *data);
static void do_softint(struct work_struct *work);

static struct input_dev *hp680_ts_dev;
static DECLARE_WORK(work, do_softint);
static DECLARE_DELAYED_WORK(work, do_softint);

static void do_softint(void *data)
static void do_softint(struct work_struct *work)
{
int absx = 0, absy = 0;
u8 scpdr;
Expand Down

0 comments on commit 049fa57

Please sign in to comment.