auxdisplay: ks0108: initialize local parport variable
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 13 Aug 2015 13:36:05 +0000 (19:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 00:27:17 +0000 (17:27 -0700)
commit92f26189b181a65fcb1ff6220a4bf45d44502e4a
tree4d0d2de89b84b6a20166d757f1187b510b0724e8
parent5d44f4b3484e85c8d4527ecaca5e536da774ae21
auxdisplay: ks0108: initialize local parport variable

The local variable ks0108_parport is used by other functions to write to
the parallel port. We missed initializing it when we converted the
driver to use new Parallel Port codes.

Fixes: 4edd70c133f3 ("auxdisplay: ks0108: use new parport device model")
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/auxdisplay/ks0108.c