]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
V4L: cx88: Fix leadtek_eeprom tagging
authorJean Delvare <khali@linux-fr.org>
Mon, 8 Jan 2007 06:05:19 +0000 (07:05 +0100)
committerAdrian Bunk <bunk@stusta.de>
Tue, 9 Jan 2007 02:23:34 +0000 (03:23 +0100)
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: Marcel Holtmann <marcel@holtmann.org>
drivers/media/video/cx88/cx88-cards.c

index 1bc999247fdcbd6d9fd3fe3642a4628cac07a522..a24af92c733ef239460f59ffbe3f420e0f667768 100644 (file)
@@ -1261,7 +1261,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.