diff options
Diffstat (limited to 'sys/dev/pci/drm/drm_dp_helper.h')
-rw-r--r-- | sys/dev/pci/drm/drm_dp_helper.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/drm_dp_helper.h b/sys/dev/pci/drm/drm_dp_helper.h index ae246999eb6..12cd3728a3b 100644 --- a/sys/dev/pci/drm/drm_dp_helper.h +++ b/sys/dev/pci/drm/drm_dp_helper.h @@ -317,18 +317,16 @@ * @address: i2c target address for the currently ongoing transfer * @aux_ch: driver callback to transfer a single byte of the i2c payload */ -#ifdef notyet struct i2c_algo_dp_aux_data { bool running; u16 address; - int (*aux_ch) (struct i2c_adapter *adapter, + int (*aux_ch) (struct i2c_controller *adapter, int mode, uint8_t write_byte, uint8_t *read_byte); }; int -i2c_dp_aux_add_bus(struct i2c_adapter *adapter); -#endif +i2c_dp_aux_add_bus(struct i2c_controller *adapter); #define DP_LINK_STATUS_SIZE 6 |