rk3368: fix pinconf build error
authorwdc <wdc@rock-chips.com>
Fri, 24 Oct 2014 03:37:15 +0000 (11:37 +0800)
committerwdc <wdc@rock-chips.com>
Fri, 24 Oct 2014 03:37:15 +0000 (11:37 +0800)
drivers/pinctrl/pinconf.c

index 596a2522a6b1750b2c4c94c22f7c4177847f5bb4..d2103e546ce3e7a10882ded12232a537210eb300 100644 (file)
@@ -529,7 +529,7 @@ exit:
  * <devicename> <state> <pinname> are values that should match the pinctrl-maps
  * <newvalue> reflects the new config and is driver dependant
  */
-static int pinconf_dbg_config_write(struct file *file,
+static ssize_t pinconf_dbg_config_write(struct file *file,
        const char __user *user_buf, size_t count, loff_t *ppos)
 {
        struct pinctrl_maps *maps_node;