staging: ft1000: Fix kernel panic when use ioctl.
authorMarek Belisko <marek.belisko@open-nandra.com>
Tue, 14 Dec 2010 13:02:55 +0000 (14:02 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Dec 2010 20:20:05 +0000 (12:20 -0800)
commit91cda632ebc6ea84fd7a45efb6d4452c34985731
tree9963aa208237c01e7b7e5ffad477c5917147e154
parent0ce72ea3b2f29e5755b095a5b217b9bab8386a03
staging: ft1000: Fix kernel panic when use ioctl.

During ioctl testing was observed kernel panic beuase
file->private_data pointer was not correctly set when
debugfs file was created. Add correct pointer setup.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c