commit | c865534f1e5b5b4ef03f4a55cf4730f4b70dd75b | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Fri Aug 23 13:03:14 2013 -0400 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Sep 04 13:46:58 2013 +1000 |
tree | bd17cd7a9d546620acc877048cb48554e0e8068c | |
parent | c4a62a766062c268d08c1aacf2e18e057e277db4 [diff] |
drm/nouveau/i2c: pass the function pointers in at creation time i2c_bit_add_bus can call the pre_xfer function, which expects the func pointer to be set. Pass in func to the port creation logic so that it is set before i2c_bit_add_bus. See https://bugs.freedesktop.org/show_bug.cgi?id=68456 Reported-by: Hans-Peter Deifel <hpdeifel@gmx.de> Tested-by: Hans-Peter Deifel <hpdeifel@gmx.de> Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>