staging: crystalhd: fix signed bug
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 12 Sep 2010 18:56:51 +0000 (22:56 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Sep 2010 19:37:34 +0000 (12:37 -0700)
commitcae16a1742ad3cc19f15e78b821b94448e330ad9
tree0773fedbb06298a3827e0c765b1a95768550d701
parent3850a8ae43a1d93cda1f9a9132d41b98d825f6a3
staging: crystalhd: fix signed bug

chd_dec_major is unsigned, so check chd_dec_major < 0 doesn't make sense.
Since it is used as signed, declare it as int.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/crystalhd/crystalhd_lnx.h