Skip to content

Commit

Permalink
video: fbdev: pmag-ba-fb: Remove bad `__init' annotation
Browse files Browse the repository at this point in the history
Fix:

WARNING: drivers/video/fbdev/pmag-ba-fb.o(.text+0x308): Section mismatch in reference from the function pmagbafb_probe() to the function .init.text:pmagbafb_erase_cursor()
The function pmagbafb_probe()
references the function __init pmagbafb_erase_cursor().
This is often because pmagbafb_probe lacks a __init
annotation or the annotation of pmagbafb_erase_cursor is wrong.

-- a fallout from a missed update from commit 9625b51 ("VIDEO: 
PMAG-BA: Fix section mismatch") and then commit 48c68c4 ("Drivers: 
video: remove __dev* attributes.")

Signed-off-by: Maciej W. Rozycki <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
  • Loading branch information
Maciej W. Rozycki authored and bzolnier committed Jan 30, 2017
1 parent 6306b3a commit 879e5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/pmag-ba-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static struct fb_ops pmagbafb_ops = {
/*
* Turn the hardware cursor off.
*/
static void __init pmagbafb_erase_cursor(struct fb_info *info)
static void pmagbafb_erase_cursor(struct fb_info *info)
{
struct pmagbafb_par *par = info->par;

Expand Down

0 comments on commit 879e5a0

Please sign in to comment.