]> git.baikalelectronics.ru Git - 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)
commitaf96e059ee81ad036411e1f843ecc2339875bcbe
tree740b3daa83b022637d4707e4c253d81e694a50e3
parent837d7a1defe49bdbdf77b5a90ac9392381309018
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: 2b1146294221 ("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