mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Remove sys/io.h inclusion from some files that didn't need it, and change
asm/io.h to sys/io.h in vga.c, which newer Linux complains about.
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
/* $Header$ */
|
||||
#include <sys/io.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
#include "mach64.h"
|
||||
#include <sys/io.h>
|
||||
|
||||
static Bool
|
||||
mach64CardInit (KdCardInfo *card)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#ifdef linux
|
||||
#ifdef __i386__
|
||||
#define extern static
|
||||
#include <asm/io.h>
|
||||
#include <sys/io.h>
|
||||
#undef extern
|
||||
|
||||
#define _VgaInb(r) inb(r)
|
||||
|
||||
Reference in New Issue
Block a user