tty/serial: atmel_serial: whitespace and braces modifications
[zen-stable.git] / drivers / staging / tidspbridge / pmgr / ioobj.h
blob7defd94814582f740b2d6c8a33249828f669c6a1
1 /*
2 * ioobj.h
4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
6 * Structure subcomponents of channel class library IO objects which
7 * are exposed to DSP API from Bridge driver.
9 * Copyright (C) 2005-2006 Texas Instruments, Inc.
11 * This package is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
15 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 #ifndef IOOBJ_
21 #define IOOBJ_
23 #include <dspbridge/devdefs.h>
24 #include <dspbridge/dspdefs.h>
27 * This struct is the first field in a io_mgr struct. Other, implementation
28 * specific fields follow this structure in memory.
30 struct io_mgr_ {
31 /* These must be the first fields in a io_mgr struct: */
32 struct bridge_dev_context *bridge_context; /* Bridge context. */
33 /* Function interface to Bridge driver. */
34 struct bridge_drv_interface *intf_fxns;
35 struct dev_object *dev_obj; /* Device this board represents. */
38 #endif /* IOOBJ_ */