]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/plat-omap/include/mach/dsp_common.h
REMOVE OMAP LEGACY CODE: Remove dspgateway
[linux-2.6-omap-h63xx.git] / arch / arm / plat-omap / include / mach / dsp_common.h
index 0c7565eb6ce82be1a14493228fc48c34c92650a9..da97736f3efae3105dffcbaae511ef618d725f62 100644 (file)
@@ -5,50 +5,25 @@
  *
  * Contact: Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ *
  */
 
 #ifndef ASM_ARCH_DSP_COMMON_H
 #define ASM_ARCH_DSP_COMMON_H
 
-#include <linux/clk.h>
-
-struct dsp_kfunc_device {
-       char            *name;
-       struct clk      *fck;
-       struct clk      *ick;;
-       spinlock_t       lock;
-       int              enabled;
-       int              type;
-#define DSP_KFUNC_DEV_TYPE_COMMON      1
-#define DSP_KFUNC_DEV_TYPE_AUDIO       2
-
-       struct list_head        entry;
-
-       int     (*probe)(struct dsp_kfunc_device *, int);
-       int     (*remove)(struct dsp_kfunc_device *, int);
-       int     (*enable)(struct dsp_kfunc_device *, int);
-       int     (*disable)(struct dsp_kfunc_device *, int);
-};
-
-extern int dsp_kfunc_device_register(struct dsp_kfunc_device *);
-
-struct dsp_platform_data {
-       struct list_head kdev_list;
-};
-
-struct omap_dsp {
-       struct mutex            lock;
-       int                     enabled;        /* stored peripheral status */
-       struct omap_mmu         *mmu;
-       struct omap_mbox        *mbox;
-       struct device           *dev;
-       struct list_head        *kdev_list;
-       int                     initialized;
-};
-
 #if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK)
 extern void omap_dsp_request_mpui(void);
 extern void omap_dsp_release_mpui(void);