Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e59f711 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

Staging: xgifb: Remove port macros in osdef.h



The port related macros in osdef.h are replaced with calls to out?()
and in?().  This removes the last macros defined in osdef.h, so this
file is no longer needed.

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cc75bb02
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -43,7 +43,6 @@
#include <asm/mtrr.h>
#endif

#include "osdef.h"
#include "vgatypes.h"
#include "vb_struct.h"
#include "XGIfb.h"
+0 −2
Original line number Diff line number Diff line
@@ -29,8 +29,6 @@
#include <linux/types.h>
#include <linux/proc_fs.h>

#include "osdef.h"


#ifndef XGIFB_PAN
#define XGIFB_PAN

drivers/staging/xgifb/osdef.h

deleted100644 → 0
+0 −37
Original line number Diff line number Diff line
#ifndef _OSDEF_H_
#define _OSDEF_H_

/**********************************************************************/

#ifdef OutPortByte
#undef OutPortByte
#endif /* OutPortByte */

#ifdef OutPortWord
#undef OutPortWord
#endif /* OutPortWord */

#ifdef OutPortLong
#undef OutPortLong
#endif /* OutPortLong */

#ifdef InPortByte
#undef InPortByte
#endif /* InPortByte */

#ifdef InPortWord
#undef InPortWord
#endif /* InPortWord */

#ifdef InPortLong
#undef InPortLong
#endif /* InPortLong */

#define OutPortByte(p,v) outb((u8)(v),(p))
#define OutPortWord(p,v) outw((u16)(v),(p))
#define OutPortLong(p,v) outl((u32)(v),(p))
#define InPortByte(p)    inb(p)
#define InPortWord(p)    inw(p)
#define InPortLong(p)    inl(p)

#endif // _OSDEF_H_
+0 −2
Original line number Diff line number Diff line
#include "osdef.h"

#include <linux/version.h>
#include <asm/io.h>
#include <linux/types.h>
+0 −1
Original line number Diff line number Diff line
#include "osdef.h"
#include "vgatypes.h"

#include <linux/version.h>
Loading