The 'deprecated' #define was causing problems with bionic system headers
which used __attribute__((deprecated)).
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Tested-by: Rob Herring <robh@kernel.org>
#include <stdint.h>
#if defined(__GNUC__)
-# define deprecated __attribute__((__deprecated__))
+# define drm_deprecated __attribute__((__deprecated__))
#else
-# define deprecated
+# define drm_deprecated
#endif
/* an empty marker for things that will be deprecated in the future: */