diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-01-06 04:04:02 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-06 04:04:02 -0500 |
commit | b9f03a3cd06c6f8bbecfe08eae2a69cc0a13c690 (patch) | |
tree | 6e6166c7eafffda30e30182d731bc1dae19bdd83 /include/video | |
parent | 1a3e528cfc00a9d08114c5fa9e486a77633a425d (diff) |
video: udlfb: Kill off some magic constants for EDID sizing.
The edid length is fixed, so use the standard definition consistently.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/udlfb.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/video/udlfb.h b/include/video/udlfb.h index 6f9785e9d62e..bf857526063b 100644 --- a/include/video/udlfb.h +++ b/include/video/udlfb.h | |||
@@ -65,9 +65,6 @@ struct dlfb_data { | |||
65 | #define MAX_TRANSFER (PAGE_SIZE*16 - BULK_SIZE) | 65 | #define MAX_TRANSFER (PAGE_SIZE*16 - BULK_SIZE) |
66 | #define WRITES_IN_FLIGHT (4) | 66 | #define WRITES_IN_FLIGHT (4) |
67 | 67 | ||
68 | #define MIN_EDID_SIZE 128 | ||
69 | #define MAX_EDID_SIZE 128 | ||
70 | |||
71 | #define MAX_VENDOR_DESCRIPTOR_SIZE 256 | 68 | #define MAX_VENDOR_DESCRIPTOR_SIZE 256 |
72 | 69 | ||
73 | #define GET_URB_TIMEOUT HZ | 70 | #define GET_URB_TIMEOUT HZ |
@@ -95,9 +92,6 @@ struct dlfb_data { | |||
95 | #define DL_ALIGN_UP(x, a) ALIGN(x, a) | 92 | #define DL_ALIGN_UP(x, a) ALIGN(x, a) |
96 | #define DL_ALIGN_DOWN(x, a) ALIGN(x-(a-1), a) | 93 | #define DL_ALIGN_DOWN(x, a) ALIGN(x-(a-1), a) |
97 | 94 | ||
98 | /* remove once this gets added to sysfs.h */ | ||
99 | #define __ATTR_RW(attr) __ATTR(attr, 0644, attr##_show, attr##_store) | ||
100 | |||
101 | /* | 95 | /* |
102 | * udlfb is both a usb device, and a framebuffer device. | 96 | * udlfb is both a usb device, and a framebuffer device. |
103 | * They may exist at the same time, but during various stages | 97 | * They may exist at the same time, but during various stages |