staging/xgifb: fix dumpVGAReg compile error if DEBUG is set
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 24 Jul 2015 23:59:08 +0000 (01:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2015 23:14:53 +0000 (16:14 -0700)
commit5a3a3f64cabe1590d76d6e8bc1b24c11219ab61e
tree5d1e5d8017c8efbd773eacb903dacd73308ce5f1
parent4bc8ff7479c57f2e0332d8b8dc7ba44b31b6839c
staging/xgifb: fix dumpVGAReg compile error if DEBUG is set

If DEBUG is set dumpVGAReg is called and tries to access
XGISR which is defined as (xgifb_info->dev_info.P3c4)
which is not known within this function.

-> add as parameter to dumpVGAReg so xgifb_info becomes known

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c