Re: [PATCH] net/wan/pc300too.c: pci_module_init to pci_register_driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Knutsson <[email protected]> writes:

> Convert pci_module_init() to pci_register_driver().
>
> Signed-off-by: Richard Knutsson <[email protected]>

Ack.

> --- a/drivers/net/wan/pc300too.c
> +++ b/drivers/net/wan/pc300too.c
> @@ -542,7 +542,7 @@ static int __init pc300_init_module(void)
>  
>  	CLOCK_BASE = use_crystal_clock ? 24576000 : pci_clock_freq;
>  
> -	return pci_module_init(&pc300_pci_driver);
> +	return pci_register_driver(&pc300_pci_driver);
>  }
>  
>  
>

-- 
Krzysztof Halasa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux