aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/omap_hsi/hsi-char.h
blob: c4b1c4c013bf89dd24dd211d2c3f802638da927e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 */