]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/video/neomagic.h
neofb: drop the xtimings structure
[linux-2.6-omap-h63xx.git] / include / video / neomagic.h
index 78b1f15a538fc69a0aaf2f94c11a400d5ad2193d..38910da0ae59f083c27312674413c73e4a32034b 100644 (file)
 #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 */