lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070224154217.GK14228@trinity.fluff.org>
Date:	Sat, 24 Feb 2007 15:42:17 +0000
From:	Ben Dooks <ben-linux@...ff.org>
To:	Richard Knutsson <ricknu-0@...dent.ltu.se>
Cc:	Ben Dooks <ben-linux@...ff.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Vincent Sanders <vince@....linux.org.uk>,
	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] drivers/mfd/sm501.c: Replace pci_module_init with pci_register_driver

On Sat, Feb 24, 2007 at 11:46:06AM +0100, Richard Knutsson wrote:
> Replace pci_module_init with pci_register_driver

Thankyou for spotting this.
 
> Signed-off-by: Richard Knutson <ricknu-0@...dent.ltu.se>
Acked-by: Ben Dooks <ben-linux@...ff.org>
> ---
> Compile-tested with "allyes", "allmod" & "allno" on i386
> 
> diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c
> index 5c5a1e2..c707c8e 100644
> --- a/drivers/mfd/sm501.c
> +++ b/drivers/mfd/sm501.c
> @@ -1131,7 +1131,7 @@ static struct platform_driver sm501_plat_drv = {
>  static int __init sm501_base_init(void)
>  {
>  	platform_driver_register(&sm501_plat_drv);
> -	return pci_module_init(&sm501_pci_drv);
> +	return pci_register_driver(&sm501_pci_drv);
>  }
>  
>  static void __exit sm501_base_exit(void)

-- 
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ