lkml.org 
[lkml]   [2003]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

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