[x86-64 patch 2/11] Fix bad #include in Eicon Diva ISDN driver

Vojtech Pavlik (vojtech@suse.cz)
Thu, 13 Sep 2001 18:30:07 +0200


Eicon Diva includes an userland errno.h. This is wrong and has been
spotted because of crosscompiling the kernel.

diff -urN linux-x86_64/drivers/isdn/eicon/Divas_mod.c linux/drivers/isdn/eicon/Divas_mod.c
--- linux-x86_64/drivers/isdn/eicon/Divas_mod.c Thu Apr 19 22:01:35 2001
+++ linux/drivers/isdn/eicon/Divas_mod.c Thu Sep 13 10:05:28 2001
@@ -29,7 +29,7 @@
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/slab.h>
-#include <errno.h>
+#include <asm/errno.h>

#include "adapter.h"
#include "uxio.h"

Vojtech Pavlik
SuSE Labs
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/