From: Michael Krufky Date: Sat, 6 Sep 2008 17:56:58 +0000 (-0300) Subject: V4L/DVB (8951): xc5000: dont pass devptr in xc5000_attach() X-Git-Tag: v2.6.28-rc1~601^2~178 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30650961907368b1077cade35455fe931b14da6b;p=pandora-kernel.git V4L/DVB (8951): xc5000: dont pass devptr in xc5000_attach() Dont pass devptr in xc5000_attach, dont store it in xc5000_priv. This pointer is passed into the tuner_callback function, which always expects a pointer to fe->dvb->priv or i2c_adapter->algo_data. This prevents future possible bugs in new drivers, such as using a "devptr" other that the standard fe->dvb->priv in a DVB driver. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed