summaryrefslogtreecommitdiff
path: root/drivers/misc/sprd_srt/srtpm.h
blob: 763d7b9eaf46c85614deef89beb869a2b880defc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _SRTPM_ANDROID_H_
#define _SRTPM_ANDROID_H_

#include <linux/cdev.h>
#include <linux/semaphore.h>

#define SRTPM_DEVICE_NODE_NAME      "SrtPM"
#define SRTPM_DEVICE_FILE_NAME      "SrtPM"
#define SRTPM_DEVICE_PROC_NAME      "SrtPM"
#define SRTPM_DEVICE_CLASS_NAME     "SrtPM"

struct srtpm_android_dev {
	int val;
	struct semaphore sem;
	struct cdev dev;
};

#endif