mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mfd: wm8400-core: Make mfd_cell array const
mfd_add_devices() expects array of struct mfd_cell to be const. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Charles Keepax <[email protected]> Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
parent
e920574d7f
commit
d1fb70e27b
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ EXPORT_SYMBOL_GPL(wm8400_block_read);
|
|||
|
||||
static int wm8400_register_codec(struct wm8400 *wm8400)
|
||||
{
|
||||
struct mfd_cell cell = {
|
||||
const struct mfd_cell cell = {
|
||||
.name = "wm8400-codec",
|
||||
.platform_data = wm8400,
|
||||
.pdata_size = sizeof(*wm8400),
|
||||
|
|
|
|||
Loading…
Reference in a new issue