uapi/rk-camera-module.h: Fix UAPI compile-test
./usr/include/linux/rk-camera-module.h:180:2: error: unknown type name 'u8' Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: I388d47ea658b5829df148c8b10eb5c466160a0e7
This commit is contained in:
@@ -177,13 +177,13 @@
|
||||
_IOW('V', BASE_VIDIOC_PRIVATE + 38, __u32)
|
||||
|
||||
struct rkmodule_i2cdev_info {
|
||||
u8 slave_addr;
|
||||
__u8 slave_addr;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct rkmodule_dev_info {
|
||||
union {
|
||||
struct rkmodule_i2cdev_info i2c_dev;
|
||||
u32 reserved[8];
|
||||
__u32 reserved[8];
|
||||
};
|
||||
} __attribute__ ((packed));
|
||||
|
||||
@@ -693,10 +693,10 @@ enum rkmodule_sync_mode {
|
||||
};
|
||||
|
||||
struct rkmodule_mclk_data {
|
||||
u32 enable;
|
||||
u32 mclk_index;
|
||||
u32 mclk_rate;
|
||||
u32 reserved[8];
|
||||
__u32 enable;
|
||||
__u32 mclk_index;
|
||||
__u32 mclk_rate;
|
||||
__u32 reserved[8];
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -746,14 +746,14 @@ enum csi2_dphy_vendor {
|
||||
};
|
||||
|
||||
struct rkmodule_csi_dphy_param {
|
||||
u32 vendor;
|
||||
u32 lp_vol_ref;
|
||||
u32 lp_hys_sw[DPHY_MAX_LANE];
|
||||
u32 lp_escclk_pol_sel[DPHY_MAX_LANE];
|
||||
u32 skew_data_cal_clk[DPHY_MAX_LANE];
|
||||
u32 clk_hs_term_sel;
|
||||
u32 data_hs_term_sel[DPHY_MAX_LANE];
|
||||
u32 reserved[32];
|
||||
__u32 vendor;
|
||||
__u32 lp_vol_ref;
|
||||
__u32 lp_hys_sw[DPHY_MAX_LANE];
|
||||
__u32 lp_escclk_pol_sel[DPHY_MAX_LANE];
|
||||
__u32 skew_data_cal_clk[DPHY_MAX_LANE];
|
||||
__u32 clk_hs_term_sel;
|
||||
__u32 data_hs_term_sel[DPHY_MAX_LANE];
|
||||
__u32 reserved[32];
|
||||
};
|
||||
|
||||
struct rkmodule_sensor_fmt {
|
||||
|
||||
Reference in New Issue
Block a user