Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9031a939 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Lee Jones
Browse files

mfd: rtsx_usb: Make mfd_cell array const



mfd_add_devices() expects array of struct mfd_cell to be const.

Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: default avatarRoger Tseng <rogerable@realtek.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent a7cfee81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ static int polling_pipe = 1;
module_param(polling_pipe, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(polling_pipe, "polling pipe (0: ctl, 1: bulk)");

static struct mfd_cell rtsx_usb_cells[] = {
static const struct mfd_cell rtsx_usb_cells[] = {
	[RTSX_USB_SD_CARD] = {
		.name = "rtsx_usb_sdmmc",
		.pdata_size = 0,