mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
[MEDIA] IVTV: exit_ivtv_i2c() cannot be __devexit
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>
This commit is contained in:
parent
dd13810b42
commit
bb374b7b93
@ -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");
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user