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>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Mark Brown committed Dec 12, 2011
1 parent 3469789 commit 43913e5
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 43913e5

Please sign in to comment.