summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-12-23 12:11:03 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2006-12-23 12:11:03 -0500
commitc02dae222c4e4afe9c213ea0fa66d43c1ffc3f7e (patch)
tree1262f74b2f86b198886c5c854d2af9fa5b586375
parentd177273d8a164e788ef7646cc9d667224f80ff56 (diff)
downloadmediapointer-dvb-s2-c02dae222c4e4afe9c213ea0fa66d43c1ffc3f7e.tar.gz
mediapointer-dvb-s2-c02dae222c4e4afe9c213ea0fa66d43c1ffc3f7e.tar.bz2
cx88: Fix leadtek_eeprom tagging
From: Jean Delvare <khali@linux-fr.org> WARNING: drivers/media/video/cx88/cx88xx.o - Section mismatch: reference to .init.text: from .text between 'cx88_card_setup' (at offset 0x68c) and 'cx88_risc_field' Caused by leadtek_eeprom() being declared __devinit and called from a non-devinit context. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r--linux/drivers/media/video/cx88/cx88-cards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c
index e4f3a6a55..9a5aa0803 100644
--- a/linux/drivers/media/video/cx88/cx88-cards.c
+++ b/linux/drivers/media/video/cx88/cx88-cards.c
@@ -1665,7 +1665,7 @@ const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids);
/* ----------------------------------------------------------------------- */
/* some leadtek specific stuff */
-static void __devinit leadtek_eeprom(struct cx88_core *core, u8 *eeprom_data)
+static void leadtek_eeprom(struct cx88_core *core, u8 *eeprom_data)
{
/* This is just for the "Winfast 2000XP Expert" board ATM; I don't have data on
* any others.