X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2FKconfig.debug;h=1e5f207b90748d3a79a8f739e0efbcd9606baddc;hb=46015977e70f672ae6b20a1b5fb1e361208365ba;hp=1faa5087dc86d65685f97a0714bf70e7f586fd35;hpb=56d61a0e26c5a61c66d1ac259a59960295939da9;p=linux-2.6 diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 1faa5087dc..1e5f207b90 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -9,6 +9,14 @@ config PRINTK_TIME operations. This is useful for identifying long delays in kernel startup. +config ENABLE_WARN_DEPRECATED + bool "Enable __deprecated logic" + default y + help + Enable the __deprecated logic in the kernel build. + Disable this to suppress the "warning: 'foo' is deprecated + (declared at kernel/power/somefile.c:1234)" messages. + config ENABLE_MUST_CHECK bool "Enable __must_check logic" default y