staging: sm750fb: initialize max_d to maximum D value of 6
authorColin Ian King <colin.king@canonical.com>
Tue, 29 Mar 2016 16:53:23 +0000 (17:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 21:41:15 +0000 (14:41 -0700)
commitf0e00da2db61c9052fbc07edf2b2bf615b7a4bbe
treeced7a8f3a823d6246a9e25a9e3cb2de317ace57b
parent7d47383dcb3f5867de56ac04ce46db06ac47ad0b
staging: sm750fb: initialize max_d to maximum D value of 6

max_d is not initialized and should be set to the largest D
value of 6.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c