Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] smiapp: Use types better suitable for DT

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

authored by

Sakari Ailus and committed by
Mauro Carvalho Chehab
ec176a6f 8c20ee6e

+5 -5
+5 -5
include/media/smiapp.h
··· 65 65 unsigned short i2c_addr_dfl; /* Default i2c addr */ 66 66 unsigned short i2c_addr_alt; /* Alternate i2c addr */ 67 67 68 - unsigned int nvm_size; /* bytes */ 69 - unsigned int ext_clk; /* sensor external clk */ 68 + uint32_t nvm_size; /* bytes */ 69 + uint32_t ext_clk; /* sensor external clk */ 70 70 71 71 unsigned int lanes; /* Number of CSI-2 lanes */ 72 - u8 csi_signalling_mode; /* SMIAPP_CSI_SIGNALLING_MODE_* */ 73 - const s64 *op_sys_clock; 72 + uint32_t csi_signalling_mode; /* SMIAPP_CSI_SIGNALLING_MODE_* */ 73 + uint64_t *op_sys_clock; 74 74 75 75 enum smiapp_module_board_orient module_board_orient; 76 76 77 77 struct smiapp_flash_strobe_parms *strobe_setup; 78 78 79 79 int (*set_xclk)(struct v4l2_subdev *sd, int hz); 80 - int xshutdown; /* gpio or SMIAPP_NO_XSHUTDOWN */ 80 + int32_t xshutdown; /* gpio or SMIAPP_NO_XSHUTDOWN */ 81 81 }; 82 82 83 83 #endif /* __SMIAPP_H_ */