aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/mediatek/conn_md/include/conn_md_dbg.h
blob: b9f7994824e8487260487c9959649381f09b5c8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __CONN_MD_DBG_H_
#define __CONN_MD_DBG_H_

#ifdef ARRAY_SIZE
#undef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
#endif

typedef int (*CONN_MD_DEV_DBG_FUNC) (int par1, int par2, int par3);

extern int conn_md_dbg_init(void);
extern int conn_md_test(void);
ssize_t conn_md_dbg_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos);
ssize_t conn_md_dbg_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos);

#endif/*__CONN_MD_DBG_H_*/