X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fvideo%2Fneomagic.h;h=38910da0ae59f083c27312674413c73e4a32034b;hb=2fdc86901d2ab30a12402b46238951d2a7891590;hp=78b1f15a538fc69a0aaf2f94c11a400d5ad2193d;hpb=dc5cdd8ec146a60152f2264c8fe920ca5ecc71ea;p=linux-2.6 diff --git a/include/video/neomagic.h b/include/video/neomagic.h index 78b1f15a53..38910da0ae 100644 --- a/include/video/neomagic.h +++ b/include/video/neomagic.h @@ -90,23 +90,6 @@ #define PCI_CHIP_NM2360 0x0006 #define PCI_CHIP_NM2380 0x0016 - -struct xtimings { - unsigned int pixclock; - unsigned int HDisplay; - unsigned int HSyncStart; - unsigned int HSyncEnd; - unsigned int HTotal; - unsigned int VDisplay; - unsigned int VSyncStart; - unsigned int VSyncEnd; - unsigned int VTotal; - unsigned int sync; - int dblscan; - int interlaced; -}; - - /* --------------------------------------------------------------------- */ typedef volatile struct { @@ -140,7 +123,8 @@ typedef volatile struct { struct neofb_par { struct vgastate state; - atomic_t ref_count; + struct mutex open_lock; + unsigned int ref_count; unsigned char MiscOutReg; /* Misc */ unsigned char CRTC[25]; /* Crtc Controller */