From: Julien Valroff Date: Fri, 27 Feb 2009 17:56:51 +0000 (+0000) Subject: Patch from Danny Kukawka X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=a8438456561e94e1521dd0cbf78db43361b1f25b;p=omnibook.git Patch from Danny Kukawka This patch fixes build the driver on older kernel versions. There is a wrong named variable used, which cause a make error about a uninitialised variable. --- diff --git a/nbsmi.c b/nbsmi.c index 4bf7143..8ce10b9 100644 --- a/nbsmi.c +++ b/nbsmi.c @@ -379,7 +379,7 @@ static struct input_handle *hook_connect(struct input_handler *handler, } #else - status=input_open_device(handle); + error = input_open_device(handle); if (error==0) dprintk("Input device opened\n"); else { dprintk("opening input device failed\n");