X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fvideo%2Fsis%2Finit301.h;h=4f3a28699d3753ca7c48be541861ee6c1ca3950d;hb=refs%2Fheads%2Fvserver;hp=72a33798758e71f53ef438649e44a20e99be31c8;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/drivers/video/sis/init301.h b/drivers/video/sis/init301.h index 72a337987..4f3a28699 100644 --- a/drivers/video/sis/init301.h +++ b/drivers/video/sis/init301.h @@ -3,7 +3,7 @@ /* * Data and prototypes for init301.c * - * Copyright (C) 2001-2004 by Thomas Winischhofer, Vienna, Austria + * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria * * If distributed as part of the Linux kernel, the following license terms * apply: @@ -35,7 +35,7 @@ * * 3) The name of the author may not be used to endorse or promote products * * derived from this software without specific prior written permission. * * - * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESSED OR + * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, @@ -50,39 +50,32 @@ * */ -#ifndef _INIT301_ -#define _INIT301_ +#ifndef _INIT301_H_ +#define _INIT301_H_ #include "osdef.h" - #include "initdef.h" -#include "vgatypes.h" -#include "vstruct.h" -#ifdef LINUX_XF86 -#include "xf86.h" -#include "xf86Pci.h" -#include "xf86PciInfo.h" +#ifdef SIS_XORG_XF86 #include "sis.h" #include "sis_regs.h" #endif -#ifdef LINUX_KERNEL +#ifdef SIS_LINUX_KERNEL +#include "vgatypes.h" +#include "vstruct.h" #ifdef SIS_CP #undef SIS_CP #endif -#include #include -#include #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) -#include -#else +#include +#include +#include "sis.h" #include