summaryrefslogtreecommitdiff
path: root/linux/sound/oss/btaudio.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-24 12:18:36 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-24 12:18:36 +0000
commita325b0a427757946052053834c1dbbc50f89526c (patch)
tree99a345753187aa97eadff18453a3d8ab84a19c79 /linux/sound/oss/btaudio.c
parenteea2301e210243d3bedcd2441624c6082cc73789 (diff)
downloadmediapointer-dvb-s2-a325b0a427757946052053834c1dbbc50f89526c.tar.gz
mediapointer-dvb-s2-a325b0a427757946052053834c1dbbc50f89526c.tar.bz2
soc-camera: improve separation between soc_camera_ops and soc_camera_device
From: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> In case of muliple cameras, handled by the same driver, they can support different picture formats, therefore formats and num_formats cannot belong to soc_camera_ops, which is only one per driver, move them to soc_camera_device, which is one per device instance. OTOH, probe and remove methods are always the same, move them to soc_camera_ops. Thanks to Eric Miao for making me look at this code again:-) Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/sound/oss/btaudio.c')
0 files changed, 0 insertions, 0 deletions