[s3c24xx] Add ioctls to glamo framebuffer driver to enable/disable glamo
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.30 / 750-glamo-headers.patch
diff --git a/target/linux/generic-2.6/patches-2.6.30/750-glamo-headers.patch b/target/linux/generic-2.6/patches-2.6.30/750-glamo-headers.patch
new file mode 100644 (file)
index 0000000..532e00a
--- /dev/null
@@ -0,0 +1,23 @@
+--- a/include/linux/fb.h
++++ b/include/linux/fb.h
+@@ -124,6 +124,7 @@ struct dentry;
+ #define FB_ACCEL_TRIDENT_BLADE3D 52   /* Trident Blade3D              */
+ #define FB_ACCEL_TRIDENT_BLADEXP 53   /* Trident BladeXP              */
+ #define FB_ACCEL_CIRRUS_ALPINE   53   /* Cirrus Logic 543x/544x/5480  */
++#define FB_ACCEL_GLAMO                50      /* SMedia Glamo                 */
+ #define FB_ACCEL_NEOMAGIC_NM2070 90   /* NeoMagic NM2070              */
+ #define FB_ACCEL_NEOMAGIC_NM2090 91   /* NeoMagic NM2090              */
+ #define FB_ACCEL_NEOMAGIC_NM2093 92   /* NeoMagic NM2093              */
+diff --git a/Kbuild b/Kbuild
+index 3f0eaa3..72699f0 100644
+--- a/include/linux/Kbuild
++++ b/include/linux/Kbuild
+@@ -75,6 +75,8 @@ header-y += genetlink.h
+ header-y += gen_stats.h
+ header-y += gfs2_ondisk.h
+ header-y += gigaset_dev.h
++header-y += glamofb.h
++header-y += glamo-engine.h
+ header-y += hysdn_if.h
+ header-y += i2o-dev.h
+ header-y += i8k.h