Skip to content

Commit

Permalink
ARM: SAMSUNG: Fix Section mismatch in samsung_bl_set()
Browse files Browse the repository at this point in the history
WARNING: vmlinux.o(.text+0xf47c): Section mismatch in reference from the function samsung_bl_set() to the (unknown reference) .init.data:(unknown)
The function samsung_bl_set() references
the (unknown reference) __initdata (unknown).
This is often because samsung_bl_set lacks a __initdata
annotation or the annotation of (unknown) is wrong.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Kukjin Kim committed Aug 19, 2011
1 parent ac0d151 commit b8a297d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-samsung/include/plat/backlight.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct samsung_bl_gpio_info {
int func;
};

extern void samsung_bl_set(struct samsung_bl_gpio_info *gpio_info,
extern void __init samsung_bl_set(struct samsung_bl_gpio_info *gpio_info,
struct platform_pwm_backlight_data *bl_data);

#endif /* __ASM_PLAT_BACKLIGHT_H */

0 comments on commit b8a297d

Please sign in to comment.