]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: Don't undefine dev_xxx macros
authorSean Anderson <seanga2@gmail.com>
Mon, 5 Oct 2020 01:39:57 +0000 (21:39 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 16 Oct 2020 13:44:27 +0000 (09:44 -0400)
Now that linux/compat.h does not define these macros, we do not need to
undefine them.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/dm/device_compat.h

index 8f26053b450d738cc2a6aba09f012ea9f5e52689..82d7a7d49249ccf3b591d237d5e1ef7d818b7777 100644 (file)
 #include <linux/build_bug.h>
 #include <linux/compat.h>
 
-/*
- * REVISIT:
- * remove the following after resolving conflicts with <linux/compat.h>
- */
-#ifdef dev_dbg
-#undef dev_dbg
-#endif
-#ifdef dev_vdbg
-#undef dev_vdbg
-#endif
-#ifdef dev_info
-#undef dev_info
-#endif
-#ifdef dev_err
-#undef dev_err
-#endif
-#ifdef dev_warn
-#undef dev_warn
-#endif
-
 /*
  * Define a new identifier which can be tested on by C code. A similar
  * definition is made for DEBUG in <log.h>.