auxdisplay: Use an enum for charlcd backlight on/off ops
[linux-2.6-microblaze.git] / drivers / auxdisplay / hd44780.c
index bcbe130..5982158 100644 (file)
@@ -37,7 +37,7 @@ struct hd44780 {
        struct gpio_desc *pins[PIN_NUM];
 };
 
-static void hd44780_backlight(struct charlcd *lcd, int on)
+static void hd44780_backlight(struct charlcd *lcd, enum charlcd_onoff on)
 {
        struct hd44780 *hd = lcd->drvdata;