summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/ti-vpe/cal_regs.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-06 20:36:27 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-19 10:30:51 +0200
commit4c0ed7ba65d1c2e9476c083ba83c23fe68ef6ebc (patch)
treeb497572a83cd856922b555d298e22f29309e8ab7 /drivers/media/platform/ti-vpe/cal_regs.h
parent497b5e94f820b3900dae89d34cd29db5ea394ff3 (diff)
downloadlinux-4c0ed7ba65d1c2e9476c083ba83c23fe68ef6ebc.tar.bz2
media: ti-vpe: cal: Move CAL_NUM_CSI2_PORTS from cal_regs.h to cal.c
The CAL_NUM_CSI2_PORTS macro isn't a register definition. Move it to cal.c, and fix indentation of the other macros while at it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/platform/ti-vpe/cal_regs.h')
-rw-r--r--drivers/media/platform/ti-vpe/cal_regs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/ti-vpe/cal_regs.h b/drivers/media/platform/ti-vpe/cal_regs.h
index b551e67d5d41..f752096dcf7f 100644
--- a/drivers/media/platform/ti-vpe/cal_regs.h
+++ b/drivers/media/platform/ti-vpe/cal_regs.h
@@ -34,8 +34,6 @@
*/
#define DRA72_CAL_PRE_ES2_LDO_DISABLE BIT(0)
-#define CAL_NUM_CSI2_PORTS 2
-
/* CAL register offsets */
#define CAL_HL_REVISION 0x0000