Fixed ioctl, was deprecated from file_operations struct since kernel 2.6.