Convert CONFIG_SAMSUNG_ONENAND to Kconfig
[platform/kernel/u-boot.git] / include / backlight.h
index ac59eb2..c841882 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef _BACKLIGHT_H
 #define _BACKLIGHT_H
 
+struct udevice;
+
 enum {
        BACKLIGHT_MAX           = 100,
        BACKLIGHT_MIN           = 0,
@@ -39,7 +41,7 @@ struct backlight_ops {
  * backlight_enable() - Enable a backlight
  *
  * @dev:       Backlight device to enable
- * @return 0 if OK, -ve on error
+ * Return: 0 if OK, -ve on error
  */
 int backlight_enable(struct udevice *dev);
 
@@ -48,7 +50,7 @@ int backlight_enable(struct udevice *dev);
  *
  * @dev:       Backlight device to update
  * @percent:   Brightness value (0 to 100, or BACKLIGHT_... value)
- * @return 0 if OK, -ve on error
+ * Return: 0 if OK, -ve on error
  */
 int backlight_set_brightness(struct udevice *dev, int percent);