diff options
author | Marcel Siegert <mws@linuxtv.org> | 2007-02-13 13:46:55 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 16:35:31 +0100 |
commit | b61901024776b25ce7b8edc31bb1757c7382a88e (patch) | |
tree | bebf31ba4a8cc2a121ca21b39e44cddb2ba7bfd6 /drivers/pnp/interface.c | |
parent | V4L/DVB (5178): Avoid race when deregistering the IR control for dvb-usb (diff) | |
download | linux-b61901024776b25ce7b8edc31bb1757c7382a88e.tar.xz linux-b61901024776b25ce7b8edc31bb1757c7382a88e.zip |
V4L/DVB (5244): Dvbdev: fix illegal re-usage of fileoperations struct
Arjan van de Ven <arjan@infradead.org> reported an illegal re-usage of
the fileoperations struct if more than one dvb device (e.g. frontend) is
present.
This patch fixes this issue.
It allocates a new fileoperations struct each time a device is
registered and copies the default template fileops.
Signed-off-by: Marcel Siegert <mws@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/pnp/interface.c')
0 files changed, 0 insertions, 0 deletions