Deprecating a #define(s) w/dtc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Is there some operator/function we could define to be able to flag deprecated defines.

For example with gcc we can do:

#define __DEPRECATED_MACRO _Pragma("GCC warning \"Macro is deprecated\”")

So something like:

	clock-frequency = < /deprecate/ I2C_BITRATE_STANDARD 100000 >;

- k



[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux