فهرست منبع

staging: sm7xx: Fixup of the section mismatch

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Wu Zhangjin 15 سال پیش
والد
کامیت
b99e1943fd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      drivers/staging/sm7xx/smtcfb.c

+ 1 - 1
drivers/staging/sm7xx/smtcfb.c

@@ -835,7 +835,7 @@ __setup("vga=", sm712vga_setup);
  * Original init function changed to probe method to be used by pci_drv
  * Original init function changed to probe method to be used by pci_drv
  * process used to detect chips replaced with kernel process in pci_drv
  * process used to detect chips replaced with kernel process in pci_drv
  */
  */
-static int __init smtcfb_pci_probe(struct pci_dev *pdev,
+static int __devinit smtcfb_pci_probe(struct pci_dev *pdev,
 				   const struct pci_device_id *ent)
 				   const struct pci_device_id *ent)
 {
 {
 	struct smtcfb_info *sfb;
 	struct smtcfb_info *sfb;