Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 049e6dde7e57f0054fdc49102e7ef4830c698b46 authored by Linus Torvalds on 04 October 2015, 15:57:17 UTC
Linux 4.3-rc4
Tip revision: 049e6dd
lcd-mipid.h
#ifndef __LCD_MIPID_H
#define __LCD_MIPID_H

enum mipid_test_num {
	MIPID_TEST_RGB_LINES,
};

enum mipid_test_result {
	MIPID_TEST_SUCCESS,
	MIPID_TEST_INVALID,
	MIPID_TEST_FAILED,
};

#ifdef __KERNEL__

struct mipid_platform_data {
	int	nreset_gpio;
	int	data_lines;

	void	(*shutdown)(struct mipid_platform_data *pdata);
	void	(*set_bklight_level)(struct mipid_platform_data *pdata,
				     int level);
	int	(*get_bklight_level)(struct mipid_platform_data *pdata);
	int	(*get_bklight_max)(struct mipid_platform_data *pdata);
};

#endif

#endif
back to top