Skip to content

Commit 1fcb748

Browse files
committed
amd-gpu: Don't undefine READ and WRITE
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: 4562236 ("drm/amd/dc: Add dc display driver (v2)") Signed-off-by: David Howells <dhowells@redhat.com>
1 parent 2e2d6f0 commit 1fcb748

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/amd/display/dc/os_types.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
#define LITTLEENDIAN_CPU
4141
#endif
4242

43-
#undef READ
44-
#undef WRITE
4543
#undef FRAME_SIZE
4644

4745
#define dm_output_to_console(fmt, ...) DRM_DEBUG_KMS(fmt, ##__VA_ARGS__)

0 commit comments

Comments
 (0)