]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MEDIA] IVTV: exit_ivtv_i2c() cannot be __devexit
authorDavid Miller <davem@davemloft.net>
Wed, 31 Oct 2007 04:23:48 +0000 (21:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 31 Oct 2007 14:48:21 +0000 (07:48 -0700)
It is referenced both from __devinit code (ivtv_probe) and
normal .text (ivtv_process_eeprom), and therefore cannot
be discarded via __devexit.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/video/ivtv/ivtv-i2c.c
drivers/media/video/ivtv/ivtv-i2c.h

index 285fca676a69a7cd77c68da68ca78bea868dbd97..623eea2652ca1fda2844d29b4c5cb0fb7c792163 100644 (file)
@@ -741,7 +741,7 @@ int __devinit init_ivtv_i2c(struct ivtv *itv)
                return i2c_bit_add_bus(&itv->i2c_adap);
 }
 
-void __devexit exit_ivtv_i2c(struct ivtv *itv)
+void exit_ivtv_i2c(struct ivtv *itv)
 {
        IVTV_DEBUG_I2C("i2c exit\n");
 
index 677c3292855e7da8edc6a056fe9e005d8397d15f..de6a07442298d44d6735cde7266a201a48cba39c 100644 (file)
@@ -36,6 +36,6 @@ void ivtv_call_i2c_clients(struct ivtv *itv, unsigned int cmd, void *arg);
 
 /* init + register i2c algo-bit adapter */
 int __devinit init_ivtv_i2c(struct ivtv *itv);
-void __devexit exit_ivtv_i2c(struct ivtv *itv);
+void exit_ivtv_i2c(struct ivtv *itv);
 
 #endif