diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/media/soc380.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/media/soc380.h b/include/media/soc380.h new file mode 100644 index 000000000000..0cf1744dd022 --- /dev/null +++ b/include/media/soc380.h @@ -0,0 +1,38 @@ +/** + * Copyright (c) 2011 NVIDIA Corporation. All rights reserved. + * + * NVIDIA Corporation and its licensors retain all intellectual property + * and proprietary rights in and to this software and related documentation + * and any modifications thereto. Any use, reproduction, disclosure or + * distribution of this software and related documentation without an express + * license agreement from NVIDIA Corporation is strictly prohibited. + */ + +#ifndef __SOC380_H__ +#define __SOC380_H__ + +#include <linux/ioctl.h> /* For IOCTL macros */ + +#define SOC380_IOCTL_SET_MODE _IOW('o', 1, struct soc380_mode) +#define SOC380_IOCTL_GET_STATUS _IOR('o', 2, struct soc380_status) + +struct soc380_mode { + int xres; + int yres; +}; + +struct soc380_status { + int data; + int status; +}; + +#ifdef __KERNEL__ +struct soc380_platform_data { + int (*power_on)(void); + int (*power_off)(void); + +}; +#endif /* __KERNEL__ */ + +#endif /* __SOC380_H__ */ + |