linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: domen@coderock.org
To: adaplas@pol.net
Cc: linux-fbdev-devel@lists.sourceforge.net, domen@coderock.org,
	c.lucas@ifrance.com
Subject: [patch 3/9] drivers/video/aty/*: convert to pci_register_driver
Date: Sun, 06 Mar 2005 11:36:18 +0100	[thread overview]
Message-ID: <20050306103619.0882E1F23B@trashy.coderock.org> (raw)


convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
---


 kj-domen/drivers/video/aty/aty128fb.c    |    2 +-
 kj-domen/drivers/video/aty/atyfb_base.c  |    2 +-
 kj-domen/drivers/video/aty/radeon_base.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff -puN drivers/video/aty/aty128fb.c~pci_register_driver-drivers_video_aty drivers/video/aty/aty128fb.c
--- kj/drivers/video/aty/aty128fb.c~pci_register_driver-drivers_video_aty	2005-03-05 16:12:57.000000000 +0100
+++ kj-domen/drivers/video/aty/aty128fb.c	2005-03-05 16:12:57.000000000 +0100
@@ -2442,7 +2442,7 @@ int __init aty128fb_init(void)
 	aty128fb_setup(option);
 #endif
 
-	return pci_module_init(&aty128fb_driver);
+	return pci_register_driver(&aty128fb_driver);
 }
 
 static void __exit aty128fb_exit(void)
diff -puN drivers/video/aty/atyfb_base.c~pci_register_driver-drivers_video_aty drivers/video/aty/atyfb_base.c
--- kj/drivers/video/aty/atyfb_base.c~pci_register_driver-drivers_video_aty	2005-03-05 16:12:57.000000000 +0100
+++ kj-domen/drivers/video/aty/atyfb_base.c	2005-03-05 16:12:57.000000000 +0100
@@ -3669,7 +3669,7 @@ int __init atyfb_init(void)
 #endif
 
 #ifdef CONFIG_PCI
-    pci_module_init(&atyfb_driver);
+    pci_register_driver(&atyfb_driver);
 #endif
 #ifdef CONFIG_ATARI
     atyfb_atari_probe();
diff -puN drivers/video/aty/radeon_base.c~pci_register_driver-drivers_video_aty drivers/video/aty/radeon_base.c
--- kj/drivers/video/aty/radeon_base.c~pci_register_driver-drivers_video_aty	2005-03-05 16:12:57.000000000 +0100
+++ kj-domen/drivers/video/aty/radeon_base.c	2005-03-05 16:12:57.000000000 +0100
@@ -2497,7 +2497,7 @@ int __init radeonfb_init (void)
 		return -ENODEV;
 	radeonfb_setup(option);
 #endif
-	return pci_module_init (&radeonfb_driver);
+	return pci_register_driver (&radeonfb_driver);
 }
 
 
_


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

                 reply	other threads:[~2005-03-06 10:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050306103619.0882E1F23B@trashy.coderock.org \
    --to=domen@coderock.org \
    --cc=adaplas@pol.net \
    --cc=c.lucas@ifrance.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).