summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/drm/drm_dp_helper.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/drm/drm_dp_helper.c b/sys/dev/pci/drm/drm_dp_helper.c
index 60dcdc6259b..be48a148416 100644
--- a/sys/dev/pci/drm/drm_dp_helper.c
+++ b/sys/dev/pci/drm/drm_dp_helper.c
@@ -50,16 +50,12 @@ int
i2c_algo_dp_aux_transaction(struct i2c_controller *adapter, int mode,
uint8_t write_byte, uint8_t *read_byte)
{
- printf("%s stub\n", __func__);
- return EINVAL;
-#ifdef notyet
- struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data;
+ struct i2c_algo_dp_aux_data *algo_data = adapter->ic_cookie;
int ret;
ret = (*algo_data->aux_ch)(adapter, mode,
write_byte, read_byte);
return ret;
-#endif
}
/*