lkml.org 
[lkml]   [2001]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectParport_pc compile errors in 2.4.4
All,

I have encountered a compile error in 2.4.4.

The autoirq and autodma parameters that were added (in 2.4.3-ac2)
to parport_pc_init_superio are missing from the else
side of the #ifdef CONFIG_PCI

I _think_ this patch should fix it.

==== PATCH against 2.4.4 ====
*** linux/drivers/parport/parport_pc.c.orig Wed May 2 13:18:00 2001
--- linux/drivers/parport/parport_pc.c Wed May 2 13:19:02 2001
***************
*** 2576,2582 ****
}
#else
static struct pci_driver parport_pc_pci_driver;
! static int __init parport_pc_init_superio(void) {return 0;}
#endif /* CONFIG_PCI */

/* This is called by parport_pc_find_nonpci_ports (in asm/parport.h) */
--- 2576,2582 ----
}
#else
static struct pci_driver parport_pc_pci_driver;
! static int __init parport_pc_init_superio (int autoirq, int autodma)
{return 0;}
#endif /* CONFIG_PCI */

/* This is called by parport_pc_find_nonpci_ports (in asm/parport.h) */
==== PATCH ENDS ====

Thanks,
Hal Duston
hald@sound.net

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

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.027 / U:1.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site