From b9f03a3cd06c6f8bbecfe08eae2a69cc0a13c690 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 6 Jan 2011 18:04:02 +0900 Subject: 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 --- include/video/udlfb.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/video') diff --git a/include/video/udlfb.h b/include/video/udlfb.h index 6f9785e9d62..bf857526063 100644 --- a/include/video/udlfb.h +++ b/include/video/udlfb.h @@ -65,9 +65,6 @@ struct dlfb_data { #define MAX_TRANSFER (PAGE_SIZE*16 - BULK_SIZE) #define WRITES_IN_FLIGHT (4) -#define MIN_EDID_SIZE 128 -#define MAX_EDID_SIZE 128 - #define MAX_VENDOR_DESCRIPTOR_SIZE 256 #define GET_URB_TIMEOUT HZ @@ -95,9 +92,6 @@ struct dlfb_data { #define DL_ALIGN_UP(x, a) ALIGN(x, a) #define DL_ALIGN_DOWN(x, a) ALIGN(x-(a-1), a) -/* remove once this gets added to sysfs.h */ -#define __ATTR_RW(attr) __ATTR(attr, 0644, attr##_show, attr##_store) - /* * udlfb is both a usb device, and a framebuffer device. * They may exist at the same time, but during various stages -- cgit v1.2.3