summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-03-17 00:09:16 +1100
committerJonathan Gray <jsg@jsg.id.au>2013-03-17 00:09:16 +1100
commit7ec01c2e814e0f52f855afb65ea63495ee51a797 (patch)
tree3a66f6f8316d7cbde74b15001f9e9241b81f8bfd
parent04a14eba5483e146832b706057cae65b5346b18f (diff)
unstub another drm_dp_helper.c func
-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
}
/*