Skip to content
Snippets Groups Projects
Commit b6190102 authored by Marcel Siegert's avatar Marcel Siegert Committed by Mauro Carvalho Chehab
Browse files

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: default avatarMarcel Siegert <mws@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent e1af4980
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment