From: Julia Lawall Date: Sun, 3 Jan 2016 11:58:14 +0000 (-0200) Subject: [media] av7110: constify sp8870_config structure X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3defe84a76d5055b24e2e04b5171892fa9455566;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] av7110: constify sp8870_config structure This sp8870_config structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/ttpci/av7110.c b/drivers/media/pci/ttpci/av7110.c index a69dc6a0752b..18d229fa65cf 100644 --- a/drivers/media/pci/ttpci/av7110.c +++ b/drivers/media/pci/ttpci/av7110.c @@ -1739,7 +1739,7 @@ static int alps_tdlb7_request_firmware(struct dvb_frontend* fe, const struct fir #endif } -static struct sp8870_config alps_tdlb7_config = { +static const struct sp8870_config alps_tdlb7_config = { .demod_address = 0x71, .request_firmware = alps_tdlb7_request_firmware,