From: Ilia Mirkin Date: Fri, 23 Aug 2013 17:03:14 +0000 (-0400) Subject: drm/nouveau/i2c: pass the function pointers in at creation time X-Git-Tag: v3.12-rc1~136^2~3^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c865534f1e5b5b4ef03f4a55cf4730f4b70dd75b;p=pandora-kernel.git 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 Tested-by: Hans-Peter Deifel Signed-off-by: Ilia Mirkin Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed