commit | 90dc4cfa2076cdc4df4c2f5dd3cadeefd9557c2c | [log] [tgz] |
---|---|---|
author | Jarod Wilson <jarod@redhat.com> | Sat Oct 16 21:32:44 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Oct 22 20:05:35 2010 -0200 |
tree | 9e8338bff820643e1d84f8f9db5044fcf185e79f | |
parent | 578fcb8e5f3046493932105c404792a2fe0e066f [diff] |
[media] lirc_dev: fix pointer to owner If an lirc device driver doesn't specify its own fops, we set set ir->cdev.owner to THIS_MODULE. If it does specify its own fops, we set ir->cdev.owner to ir->d.owner. Subsequent module_{get,put} calls should be using ir->cdev.owner, not ir->d.owner. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>