]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/sbus/char/bbc_envctrl.c
[SPARC]: sparc32 needs PROMDEV_{I,O}RSC defines too.
[karo-tx-linux.git] / drivers / sbus / char / bbc_envctrl.c
index d44205d52bf3ce7a69a0da0678c0fe0d377f10d9..d89f83f769f5426d36d3e5ec16a18afcffd61469 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #define __KERNEL_SYSCALLS__
+static int errno;
 
 #include <linux/kernel.h>
 #include <linux/kthread.h>
@@ -13,8 +14,6 @@
 #include <linux/delay.h>
 #include <asm/oplib.h>
 #include <asm/ebus.h>
-static int errno;
-#include <asm/unistd.h>
 
 #include "bbc_i2c.h"
 #include "max1617.h"