Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 049fa57c authored by Kristoffer Ericson's avatar Kristoffer Ericson Committed by Paul Mundt
Browse files

input: hp680_ts compile fixes.



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: default avatarKristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent ad05acd6
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
#include <linux/input.h>
#include <linux/module.h>
#include <linux/init.h>

#include <linux/interrupt.h>
#include <asm/io.h>
#include <asm/delay.h>
@@ -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;