mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Hans-Jürgen Koch" <hjk@linutronix.de>
To: Adrian Bunk <bunk@stusta.de>
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
	tglx@linutronix.de, Benedikt Spranger <b.spranger@linutronix.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [-mm patch] drivers/uio/uio_cif.c: convert pci_module_init()
Date: Fri, 6 Apr 2007 13:11:56 +0200	[thread overview]
Message-ID: <200704061311.57723.hjk@linutronix.de> (raw)
In-Reply-To: <20070406101937.GD29169@stusta.de>

Am Freitag 06 April 2007 12:19 schrieb Adrian Bunk:
> This patch converts the pci_module_init() usage to pci_register_driver().
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> ---
> --- linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c.old	2007-04-05
> 20:44:24.000000000 +0200 +++
> linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c	2007-04-05 20:44:38.000000000
> +0200 @@ -144,7 +144,7 @@
>
>  static int __init hilscher_init_module(void)
>  {
> -	return pci_module_init(&hilscher_pci_driver);
> +	return pci_register_driver(&hilscher_pci_driver);
>  }
>
>  static void __exit hilscher_exit_module(void)

OK.

Acked-by: Hans J. Koch <hjk@linutronix.de>


      reply	other threads:[~2007-04-06 11:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-06 10:19 Adrian Bunk
2007-04-06 11:11 ` Hans-Jürgen Koch [this message]

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=200704061311.57723.hjk@linutronix.de \
    --to=hjk@linutronix.de \
    --cc=b.spranger@linutronix.de \
    --cc=bunk@stusta.de \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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

all inboxes | Powered by JetHome®