]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commit1fcb748d187d0c7732a75a509e924ead6d070e04
tree740b3daa83b022637d4707e4c253d81e694a50e3
parent2e2d6f0342be7f73a34526077fa96f42f0e8c661
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: 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