From: Andrew Morton Cc: Miguel Ojeda Sandonis Signed-off-by: Andrew Morton --- drivers/auxdisplay/cfag12864b.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/auxdisplay/cfag12864b.c~drivers-add-lcd-support-workqueue-fixups drivers/auxdisplay/cfag12864b.c --- a/drivers/auxdisplay/cfag12864b.c~drivers-add-lcd-support-workqueue-fixups +++ a/drivers/auxdisplay/cfag12864b.c @@ -221,9 +221,9 @@ unsigned char *cfag12864b_buffer; static unsigned char *cfag12864b_cache; static DEFINE_MUTEX(cfag12864b_mutex); static unsigned char cfag12864b_updating; -static void cfag12864b_update(void *arg); +static void cfag12864b_update(struct work_struct *delayed_work); static struct workqueue_struct *cfag12864b_workqueue; -static DECLARE_WORK(cfag12864b_work, cfag12864b_update, NULL); +static DECLARE_DELAYED_WORK(cfag12864b_work, cfag12864b_update); static void cfag12864b_queue(void) { @@ -267,7 +267,7 @@ unsigned char cfag12864b_isenabled(void) return cfag12864b_updating; } -static void cfag12864b_update(void *arg) +static void cfag12864b_update(struct work_struct *work) { unsigned char c; unsigned short i, j, k, b; _