diff options
author | Chris Kelly <ckelly@ozmodevices.com> | 2012-02-20 21:12:17 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-24 09:26:51 -0800 |
commit | 23af8c2a088fe5ae142103fb32fa03755cda694c (patch) | |
tree | 4e5d0743dcaa290bab25cfa9aebe914e27cfc156 /drivers/staging/ozwpan/ozcdev.h | |
parent | staging: ozwpan: Added USB service to protocol (diff) | |
download | linux-dev-23af8c2a088fe5ae142103fb32fa03755cda694c.tar.xz linux-dev-23af8c2a088fe5ae142103fb32fa03755cda694c.zip |
staging: ozwpan: Added character device support
The character device provides a management interface to the driver
and also provides an additional service to the protocol for side
band communication with the device.
Signed-off-by: Chris Kelly <ckelly@ozmodevices.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozcdev.h')
-rw-r--r-- | drivers/staging/ozwpan/ozcdev.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/staging/ozwpan/ozcdev.h b/drivers/staging/ozwpan/ozcdev.h new file mode 100644 index 000000000000..698014bb8d72 --- /dev/null +++ b/drivers/staging/ozwpan/ozcdev.h @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- + * Copyright (c) 2011 Ozmo Inc + * Released under the GNU General Public License Version 2 (GPLv2). + * ----------------------------------------------------------------------------- + */ +#ifndef _OZCDEV_H +#define _OZCDEV_H + +int oz_cdev_register(void); +int oz_cdev_deregister(void); +int oz_cdev_init(void); +void oz_cdev_term(void); +int oz_cdev_start(struct oz_pd *pd, int resume); +void oz_cdev_stop(struct oz_pd *pd, int pause); +void oz_cdev_rx(struct oz_pd *pd, struct oz_elt *elt); +void oz_cdev_heartbeat(struct oz_pd *pd); + +#endif /* _OZCDEV_H */ |