The patch titled cirrusfb: add __devinit attribute to probing functions has been added to the -mm tree. Its filename is cirrusfb-add-__devinit-attribute-to-probing-functions.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: cirrusfb: add __devinit attribute to probing functions From: Krzysztof Helt <krzysztof.h1@xxxxx> Add __devinit attribute to probing functions. This fixed section mismatch warning from my previous patch. Kill one redundant forward declaration. Signed-off-by: Krzysztof Helt <krzysztof.h1@xxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/cirrusfb.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff -puN drivers/video/cirrusfb.c~cirrusfb-add-__devinit-attribute-to-probing-functions drivers/video/cirrusfb.c --- a/drivers/video/cirrusfb.c~cirrusfb-add-__devinit-attribute-to-probing-functions +++ a/drivers/video/cirrusfb.c @@ -417,10 +417,6 @@ static struct fb_ops cirrusfb_ops = { .fb_imageblit = cirrusfb_imageblit, }; -/*--- Hardware Specific Routines -------------------------------------------*/ -static int cirrusfb_decode_var(const struct fb_var_screeninfo *var, - struct cirrusfb_regs *regs, - struct fb_info *info); /*--- Internal routines ----------------------------------------------------*/ static void init_vgachip(struct fb_info *info); static void switch_monitor(struct cirrusfb_info *cinfo, int on); @@ -2020,7 +2016,7 @@ static int release_io_ports; * based on the DRAM bandwidth bit and DRAM bank switching bit. This * works with 1MB, 2MB and 4MB configurations (which the Motorola boards * seem to have. */ -static unsigned int cirrusfb_get_memsize(u8 __iomem *regbase) +static unsigned int __devinit cirrusfb_get_memsize(u8 __iomem *regbase) { unsigned long mem; unsigned char SRF; @@ -2117,7 +2113,7 @@ static void __devexit cirrusfb_zorro_unm } #endif /* CONFIG_ZORRO */ -static int cirrusfb_set_fbinfo(struct fb_info *info) +static int __devinit cirrusfb_set_fbinfo(struct fb_info *info) { struct cirrusfb_info *cinfo = info->par; struct fb_var_screeninfo *var = &info->var; @@ -2161,7 +2157,7 @@ static int cirrusfb_set_fbinfo(struct fb return 0; } -static int cirrusfb_register(struct fb_info *info) +static int __devinit cirrusfb_register(struct fb_info *info) { struct cirrusfb_info *cinfo = info->par; int err; @@ -2232,8 +2228,8 @@ static void __devexit cirrusfb_cleanup(s } #ifdef CONFIG_PCI -static int cirrusfb_pci_register(struct pci_dev *pdev, - const struct pci_device_id *ent) +static int __devinit cirrusfb_pci_register(struct pci_dev *pdev, + const struct pci_device_id *ent) { struct cirrusfb_info *cinfo; struct fb_info *info; @@ -2360,8 +2356,8 @@ static struct pci_driver cirrusfb_pci_dr #endif /* CONFIG_PCI */ #ifdef CONFIG_ZORRO -static int cirrusfb_zorro_register(struct zorro_dev *z, - const struct zorro_device_id *ent) +static int __devinit cirrusfb_zorro_register(struct zorro_dev *z, + const struct zorro_device_id *ent) { struct cirrusfb_info *cinfo; struct fb_info *info; _ Patches currently in -mm which might be from krzysztof.h1@xxxxx are origin.patch atmel_lcdfb-fix-oops-in-rmmod-when-framebuffer-fails-to-register.patch linux-next.patch fb-metronome-printk-format-warning.patch x86-delay-early-cpu-initialization-until-cpuid-is-done.patch x86-move-mtrr-cpu-cap-setting-early-in-early_init_xxxx.patch fb-convert-lock-unlock_kernel-into-local-fb-mutex.patch neofb-reduce-panning-function.patch viafb-accelc-accelh-update.patch viafb-viafbdevc-update.patch fbdev-kconfig-update.patch fbdev-kconfig-update-fix.patch neofb-kill-some-redundant-code.patch vga16fb-remove-open_lock-mutex.patch neofb-remove-open_lock-mutex.patch tdfxfb-do-not-make-changes-to-default-tdfx_fix.patch intelfb-support-945gme-as-used-in-asus-eee-901.patch cirrusfb-remove-information-about-memory-size-during-mode-change.patch cirrusfb-simplify-clock-calculation.patch cirrusfb-remove-24-bpp-mode.patch cirrusfb-drop-device-pointers-from-cirrusfb_info.patch cirrusfb-use-modedb-and-add-mode_option-parameter-2nd-rev.patch cirrusfb-add-__devinit-attribute-to-probing-functions.patch cirrusfb-eliminate-crt-registers-from-global-structure.patch cirrusfb-drop-clock-fields-from-cirrusfb_regs-structure.patch atmel_lcdfb-disallow-setting-larger-resolution-than-the-framebuffer-memory-can-handle.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html