aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/mediatek/cam_cal/inc/cam_cal_define.h
blob: a80fadff52751432214d0296062db6d9cda6105a (plain) (blame)
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
#ifndef _CAM_CAL_DATA_H
#define _CAM_CAL_DATA_H

#ifdef CONFIG_COMPAT
//64 bit
#include <linux/fs.h>
#include <linux/compat.h>
#endif


typedef struct{
    u32 u4Offset;
    u32 u4Length;
    u8 *pu1Params;
}stCAM_CAL_INFO_STRUCT, *stPCAM_CAL_INFO_STRUCT;

#ifdef CONFIG_COMPAT

typedef struct{
    u32 u4Offset;
    u32 u4Length;
    compat_uptr_t pu1Params;
}COMPAT_stCAM_CAL_INFO_STRUCT;
#endif

#endif //_CAM_CAL_DATA_H