treewide: Fix function prototypes for module_param_call()
[sfrench/cifs-2.6.git] / drivers / mtd / ubi / build.c
index 842550b5712ae48a18e24c2c4945095b0c596ccf..136ce05d23283217563d6a9287cd8651c590050e 100644 (file)
@@ -1334,7 +1334,7 @@ static int bytes_str_to_int(const char *str)
  * This function returns zero in case of success and a negative error code in
  * case of error.
  */
-static int ubi_mtd_param_parse(const char *val, struct kernel_param *kp)
+static int ubi_mtd_param_parse(const char *val, const struct kernel_param *kp)
 {
        int i, len;
        struct mtd_dev_param *p;