blob: 6deeeb16ba84a4391e298313497026a1117a906e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* Copyright (C) ST-Ericsson SA 2010
*
* Author: Biju Das <biju.das@stericsson.com> for ST-Ericsson
* Author: Kumar Sanghavi <kumar.sanghvi@stericsson.com> for ST-Ericsson
* Author: Arun Murthy <arun.murthy@stericsson.com> for ST-Ericsson
* License terms: GNU General Public License (GPL) version 2
*/
#ifndef __SHM_DRIVER_IF_H__
#define __SHM_DRIVER_IF_H__
#include <linux/device.h>
/* forward declaration */
struct shrm_dev;
typedef void (*rx_cb)(void *data, unsigned int length);
typedef void (*received_msg_handler)(unsigned char l2_header,
void *msg_ptr, unsigned int length,
struct shrm_dev *shrm);
#endif
|