[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200704061311.57723.hjk@linutronix.de>
Date: Fri, 6 Apr 2007 13:11:56 +0200
From: Hans-Jürgen Koch <hjk@...utronix.de>
To: Adrian Bunk <bunk@...sta.de>
Cc: Greg Kroah-Hartman <gregkh@...e.de>, tglx@...utronix.de,
Benedikt Spranger <b.spranger@...utronix.de>,
linux-kernel@...r.kernel.org
Subject: Re: [-mm patch] drivers/uio/uio_cif.c: convert pci_module_init()
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@...sta.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@...utronix.de>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists