aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/mediatek/masp/mt6735/module/sec_mod.h
blob: 12a50513fe1fba27e2a6fc2e2dbf210a1d5241a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SECMOD_H
#define SECMOD_H

#include <linux/init.h>
#include <linux/types.h>
#include <linux/spinlock.h>

struct sec_ops {
    int (*sec_get_rid)(unsigned int *rid);
};

struct sec_mod {
    dev_t                 id;
    int                   init;
    spinlock_t            lock;
    const struct sec_ops *ops;
};

#endif /* end of SECMOD_H */