lkml.org 
[lkml]   [2008]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Fix the fcpnp_driver declaration to only exist if CONFIG_PNP=y
Date
On Friday 11 July 2008 8:36:48 am David Howells wrote:
> Fix the fcpnp_driver declaration to only exist if CONFIG_PNP=y as it's only
> accessed in that case.
>
> The PNP=n variant was added by patch
> 30d55e71a81b1f5a8136f191dc9f4c21f18e77e6.
>
> Signed-off-by: David Howells <dhowells@redhat.com>

Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>

> ---
>
> drivers/isdn/hisax/hisax_fcpcipnp.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
>
> diff --git a/drivers/isdn/hisax/hisax_fcpcipnp.c
> b/drivers/isdn/hisax/hisax_fcpcipnp.c index c0b4db2..1925118 100644
> --- a/drivers/isdn/hisax/hisax_fcpcipnp.c
> +++ b/drivers/isdn/hisax/hisax_fcpcipnp.c
> @@ -974,8 +974,6 @@ static struct pnp_driver fcpnp_driver = {
> .remove = __devexit_p(fcpnp_remove),
> .id_table = fcpnp_ids,
> };
> -#else
> -static struct pnp_driver fcpnp_driver;
> #endif
>
> static void __devexit fcpci_remove(struct pci_dev *pdev)




\
 
 \ /
  Last update: 2008-07-11 17:09    [W:0.032 / U:2.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site