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

Commit 46524b14 authored by Arvind Yadav's avatar Arvind Yadav Committed by Bartlomiej Zolnierkiewicz
Browse files

video: fm2fb: constify zorro_device_id



zorro_device_id are not supposed to change at runtime. All functions
working with zorro_device_id provided by <linux/zorro.h> work with
const zorro_device_id. So mark the non-const structs as const.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 799b88de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,

static int fm2fb_probe(struct zorro_dev *z, const struct zorro_device_id *id);

static struct zorro_device_id fm2fb_devices[] = {
static const struct zorro_device_id fm2fb_devices[] = {
	{ ZORRO_PROD_BSC_FRAMEMASTER_II },
	{ ZORRO_PROD_HELFRICH_RAINBOW_II },
	{ 0 }