| /* |
| * 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 <[email protected]> |
| * Author: Sebastien JAN <[email protected]> |
| * |
| * 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 */ |