Skip to content
Snippets Groups Projects
Commit 0d8cf0c9 authored by Lucas De Marchi's avatar Lucas De Marchi
Browse files

drm/xe: Fix END redefinition


mips declares an END macro in its headers so it can't be used without
namespace in a driver like xe.

Instead of coming up with a longer name, just remove the macro and
replace its use with 0 since it's still clear what that means:
set_offsets() was already using that implicitly when checking the data
variable.

Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Closes: http://kisskb.ellerman.id.au/kisskb/buildresult/15143996/


Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240322145037.196548-1-lucas.demarchi@intel.com


Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit 35b22649)
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
parent 45c30b29
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment