diff options
Diffstat (limited to 'drivers/omap_hsi/hsi-char.h')
-rw-r--r-- | drivers/omap_hsi/hsi-char.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/omap_hsi/hsi-char.h b/drivers/omap_hsi/hsi-char.h new file mode 100644 index 0000000..c4b1c4c --- /dev/null +++ b/drivers/omap_hsi/hsi-char.h @@ -0,0 +1,35 @@ +/* + * hsi-char.h + * + * HSI character driver private declaration header file. + * + * Copyright (C) 2009 Nokia Corporation. All rights reserved. + * Copyright (C) 2009 Texas Instruments, Inc. + * + * Author: Andras Domokos <andras.domokos@nokia.com> + * Author: Sebastien JAN <s-jan@ti.com> + * + * 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 _HSI_CHAR_H +#define _HSI_CHAR_H + +#include "hsi-if.h" + +/* how many char devices would be created at most */ +#define HSI_MAX_CHAR_DEVS 16 + +/* Max HSI channel id allowed to be handled as char device. */ +/* Current range [1, 16] */ +#define HSI_MAX_CHAR_DEV_ID 16 + +void if_hsi_notify(int ch, struct hsi_event *ev); + +#endif /* _HSI_CHAR_H */ |