diff options
author | Koen Kooi <koen@openembedded.org> | 2009-08-26 11:35:14 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-08-26 11:35:14 +0200 |
commit | 172cb63ce5e91d489993590ec09e418aba019b4e (patch) | |
tree | e10d322895620ec0c96c2ab0efcd296bfc93b6b9 /recipes/dvsdk/files/dsplink-add-class-device-create-support.patch | |
parent | bac5eef9c8a73672ee114926011addabb36610eb (diff) |
dvsdk: rename to ti now that other things like bitblit live in that dir now
Diffstat (limited to 'recipes/dvsdk/files/dsplink-add-class-device-create-support.patch')
-rw-r--r-- | recipes/dvsdk/files/dsplink-add-class-device-create-support.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/recipes/dvsdk/files/dsplink-add-class-device-create-support.patch b/recipes/dvsdk/files/dsplink-add-class-device-create-support.patch deleted file mode 100644 index b43c3481e1..0000000000 --- a/recipes/dvsdk/files/dsplink-add-class-device-create-support.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -uNr codec_engine_2_21/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c codec_engine_2_21_fix/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c ---- codec_engine_2_21/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2008-10-24 20:58:01.000000000 +0100 -+++ codec_engine_2_21_fix/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2009-02-20 23:46:42.000000000 +0000 -@@ -37,6 +37,10 @@ - #endif
-
- /* ----------------------------------- OS Specific Headers */
-+#include <linux/version.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
-+#include <linux/device.h>
-+#endif
- #include <linux/autoconf.h>
- #include <linux/spinlock.h>
- #include <linux/module.h>
-@@ -190,6 +194,16 @@ - */
- STATIC Int32 major = 230 ;
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
-+/** ----------------------------------------------------------------------------
-+ * @name dsplink_class
-+ *
-+ * @desc class struct for device create.
-+ * ----------------------------------------------------------------------------
-+ */
-+STATIC struct class *dsplink_class;
-+#endif
-+
- /** ----------------------------------------------------------------------------
- * @name DRV_IsInitialized
- *
-@@ -673,6 +687,11 @@ - }
- #endif /* if defined (CHNL_COMPONENT) */
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
-+ dsplink_class = class_create(THIS_MODULE, "dsplink");
-+ device_create(dsplink_class, NULL, MKDEV(major, 0), NULL, "dsplink");
-+#endif
-+
- if (DSP_SUCCEEDED (status)) {
- DRV_IsInitialized = TRUE ;
- }
-@@ -717,6 +736,11 @@ - }
- #endif /* if defined (CHNL_COMPONENT) */
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
-+ device_destroy(dsplink_class, MKDEV(major, 0));
-+ class_destroy(dsplink_class);
-+#endif
-+
- unregister_chrdev (major, "dsplink") ;
-
- DRV_IsInitialized = FALSE ;
|