linux-stable-rt/drivers/media/video
Uwe Kleine-König ea180ca4d6 media: move omap24xxcam's probe function to .devinit.text
A pointer to omap24xxcam_probe is passed to the core via
platform_driver_register and so the function must not disappear when the
.init sections are discarded.  Otherwise (if also having HOTPLUG=y)
unbinding and binding a device to the driver via sysfs will result in an
oops as does a device being registered late.

An alternative to this patch is using platform_driver_probe instead of
platform_driver_register plus removing the pointer to the probe function
from the struct platform_driver.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Acked-by: Trilok Soni <soni.trilok@gmail.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-07 17:04:50 -08:00
..
au0828
bt8xx
cpia2
cx18
cx88 V4L-DVB: cx88-dvb: remove extra attribution for core 2010-02-26 15:58:11 -03:00
cx231xx
cx23885
cx25840
davinci
em28xx
et61x251
gspca V4L/DVB: gspca_stv06xx: Add support for camera button 2010-02-26 15:11:10 -03:00
hdpvr
ivtv
ovcamchip
pvrusb2
pwc
saa7134
saa7164
sn9c102 V4L/DVB: gspca_sonixb: Make sonixb driver handle pas106 and pas202 cameras 2010-02-26 15:11:09 -03:00
tlg2300
usbvideo
usbvision
uvc
zc0301
zoran
Kconfig
Makefile
adv7170.c
adv7175.c
adv7180.c
adv7343.c
adv7343_regs.h
arv.c
bt819.c
bt856.c
bt866.c
btcx-risc.c
btcx-risc.h
bw-qcam.c
bw-qcam.h
c-qcam.c
cafe_ccic-regs.h
cafe_ccic.c
cpia.c
cpia.h
cpia_pp.c
cpia_usb.c
cs53l32a.c
cs5345.c
cs8420.h
cx2341x.c
dabusb.c USB: Push BKL on open down into the drivers 2010-03-02 14:54:23 -08:00
dabusb.h
font.h
hexium_gemini.c
hexium_orion.c
ibmmpeg2.h
indycam.c
indycam.h
ir-kbd-i2c.c
ks0127.c
ks0127.h
m52790.c
meye.c
meye.h
msp3400-driver.c
msp3400-driver.h
msp3400-kthreads.c
mt9m001.c
mt9m111.c
mt9t031.c
mt9t112.c
mt9v011.c
mt9v011.h
mt9v022.c
mx1_camera.c
mx3_camera.c
mxb.c
mxb.h
omap24xxcam-dma.c
omap24xxcam.c media: move omap24xxcam's probe function to .devinit.text 2010-03-07 17:04:50 -08:00
omap24xxcam.h
ov511.c
ov511.h
ov772x.c
ov7670.c
ov9640.c
ov9640.h
pms.c
pxa_camera.c
rj54n1cb0c.c
s2255drv.c
saa711x_regs.h
saa717x.c
saa5246a.c
saa5249.c
saa6588.c
saa7110.c
saa7115.c
saa7121.h
saa7127.c
saa7146.h
saa7146reg.h
saa7185.c
saa7191.c
saa7191.h
se401.c
se401.h
sh_mobile_ceu_camera.c
soc_camera.c
soc_camera_platform.c
soc_mediabus.c V4L/DVB: v4l: soc_camera: fix bound checking of mbus_fmt[] index 2010-02-26 15:11:11 -03:00
stk-sensor.c
stk-webcam.c
stk-webcam.h
stradis.c
stv680.c
stv680.h
tcm825x.c
tcm825x.h
tda7432.c
tda9840.c
tda9875.c
tea6415c.c
tea6415c.h
tea6420.c
tea6420.h
ths7303.c
tlv320aic23b.c
tuner-core.c
tvaudio.c
tveeprom.c
tvp514x.c
tvp514x_regs.h
tvp5150.c
tvp5150_reg.h
tvp7002.c
tvp7002_reg.h
tw9910.c
upd64031a.c
upd64083.c
v4l1-compat.c
v4l2-common.c
v4l2-compat-ioctl32.c
v4l2-dev.c
v4l2-device.c
v4l2-int-device.c
v4l2-ioctl.c
videobuf-core.c
videobuf-dma-contig.c
videobuf-dma-sg.c
videobuf-dvb.c
videobuf-vmalloc.c
vino.c
vino.h
vivi.c
vp27smpx.c
vpx3220.c
w9966.c
w9968cf.c
w9968cf.h
w9968cf_decoder.h
w9968cf_vpp.h
wm8739.c
wm8775.c
zr364xx.c