[PATCH] staging: sm7xx: Fixup of the section mismatch

Wu Zhangjin wuzhangjin at gmail.com
Sat Jul 17 19:16:28 UTC 2010

From: Wu Zhangjin <wuzhangjin at gmail.com>

Signed-off-by: Wu Zhangjin <wuzhangjin at gmail.com>
 drivers/staging/sm7xx/smtcfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/sm7xx/smtcfb.c b/drivers/staging/sm7xx/smtcfb.c
index d76d974..8ad6ae9 100644
--- a/drivers/staging/sm7xx/smtcfb.c
+++ b/drivers/staging/sm7xx/smtcfb.c
@@ -838,7 +838,7 @@ __setup("vga=", sm712vga_setup);
  * 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
-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)
 	struct smtcfb_info *sfb;

More information about the devel mailing list