]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
amd-gpu: Don't undefine READ and WRITE
authorDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 23:36:12 +0000 (00:36 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 23:36:12 +0000 (00:36 +0100)
Remove the undefinition of READ and WRITE because these constants may be
used elsewhere in subsequently included header files, thus breaking them.

These constants don't actually appear to be used in the driver, so the
undefinition seems pointless.

Fixes: 4562236b3bc0 ("drm/amd/dc: Add dc display driver (v2)")
Signed-off-by: David Howells <dhowells@redhat.com>
drivers/gpu/drm/amd/display/dc/os_types.h

index a407892905af29661a70ad75a6c76c5d502163c3..c0d9f332baedc10d71e701b5f19e254d8b7af40d 100644 (file)
@@ -40,8 +40,6 @@
 #define LITTLEENDIAN_CPU
 #endif
 
-#undef READ
-#undef WRITE
 #undef FRAME_SIZE
 
 #define dm_output_to_console(fmt, ...) DRM_DEBUG_KMS(fmt, ##__VA_ARGS__)