Messages in this thread | | | Date | Sat, 8 Mar 2003 18:12:00 +0000 | From | Christoph Hellwig <> | Subject | Re: [BUG 380][PATCHv2] SB16 compile errors |
| |
On Sat, Mar 08, 2003 at 07:08:30PM +0100, Lukas@Razik.de wrote: > #include <linux/slab.h> > #ifndef LINUX_ISAPNP_H > #include <linux/isapnp.h> > -#define isapnp_card pci_bus > -#define isapnp_dev pci_dev > +#define isapnp_card pnp_card > +#define isapnp_dev pnp_dev > #endif
No, no, no - this is a mess! Rip out those ugly ifdefs and just use the native typedefs directly.
IT might be worth to switch over to 2.5-style drivers completly, btw. - 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/
| |