Skip to content

Commit

Permalink
mfd: Constify WM8994 regulator_init_data
Browse files Browse the repository at this point in the history
The driver has no need to modify the regulator_init_data so declare it
const to allow machine code to do so.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Jan 8, 2012
1 parent 97e43c9 commit bdd6a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mfd/wm8994/pdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct wm8994_ldo_pdata {
int enable;

const char *supply;
struct regulator_init_data *init_data;
const struct regulator_init_data *init_data;
};

#define WM8994_CONFIGURE_GPIO 0x10000
Expand Down

0 comments on commit bdd6a67

Please sign in to comment.