diff options
Diffstat (limited to 'drivers/staging/tidspbridge/rmgr/drv_interface.h')
-rw-r--r-- | drivers/staging/tidspbridge/rmgr/drv_interface.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/staging/tidspbridge/rmgr/drv_interface.h b/drivers/staging/tidspbridge/rmgr/drv_interface.h new file mode 100644 index 000000000000..ab070602adc2 --- /dev/null +++ b/drivers/staging/tidspbridge/rmgr/drv_interface.h @@ -0,0 +1,28 @@ +/* + * drv_interface.h + * + * DSP-BIOS Bridge driver support functions for TI OMAP processors. + * + * Copyright (C) 2005-2006 Texas Instruments, Inc. + * + * This package 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 PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef _DRV_INTERFACE_H_ +#define _DRV_INTERFACE_H_ + +/* Prototypes for all functions in this bridge */ +static int __init bridge_init(void); /* Initialize bridge */ +static void __exit bridge_exit(void); /* Opposite of initialize */ +static int bridge_open(struct inode *ip, struct file *filp); /* Open */ +static int bridge_release(struct inode *ip, struct file *filp); /* Release */ +static long bridge_ioctl(struct file *filp, unsigned int code, + unsigned long args); +static int bridge_mmap(struct file *filp, struct vm_area_struct *vma); +#endif /* ifndef _DRV_INTERFACE_H_ */ |