Skip to contentSkip to conversation

Fix bad #include in Eicon Diva ISDN driver

PATCH In review Vojtech Pavlik 1 participant 1 message Sep 13, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 2/11 Fix bad #include in Eicon Diva ISDN driver

Hi!

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

drivers/isdn/eicon/Divas_mod.c +1 -1
diff -urN linux-x86_64/drivers/isdn/eicon/Divas_mod.c linux/drivers/isdn/eicon/Divas_mod.c
@@ -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"
Signature · 2 lines
Vojtech Pavlik
SuSE Labs