diff options
author | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 09:48:20 +0200 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 14:02:16 +0200 |
commit | 2489007e7d740ccbc3e0a202914e243ad5178787 (patch) | |
tree | b8e6380ea7b1da63474ad68a5dba997e01146043 /include/linux/lcd-property.h | |
parent | 5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff) | |
download | kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2 |
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
Diffstat (limited to 'include/linux/lcd-property.h')
-rw-r--r-- | include/linux/lcd-property.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/linux/lcd-property.h b/include/linux/lcd-property.h new file mode 100644 index 0000000..4c83076 --- /dev/null +++ b/include/linux/lcd-property.h @@ -0,0 +1,35 @@ +/* + * LCD panel property definitions. + * + * Copyright (c) 2012 Samsung Electronics + * + * Joongmock Shin <jmock.shin@samsung.com> + * Eunchul Kim <chulspro.kim@samsung.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. +*/ +#ifndef LCD_PROPERTY_H +#define LCD_PROPERTY_H + +/* definition of flip */ +enum lcd_property_flip { + LCD_PROPERTY_FLIP_NONE = (0 << 0), + LCD_PROPERTY_FLIP_VERTICAL = (1 << 0), + LCD_PROPERTY_FLIP_HORIZONTAL = (1 << 1), +}; + +/* + * A structure for lcd property. + * + * @flip: flip information for each lcd. + * @dynamic_refresh: enable/disable dynamic refresh. + */ +struct lcd_property { + enum lcd_property_flip flip; + bool dynamic_refresh; +}; + +#endif /* LCD_PROPERTY_H */ + |