String concatenation problem in dtc

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



Hi,

I tried to create a macro for automatic composition of "-N" suffixed LED functions (where N is a number). Unfortunately, the preprocessor
of the dtc compiler seems not to accept string concatenation.
I.e. it is not possible to to the following assignment:

function = "hdd""-1"

If anyone knows how to obviate this shortcoming please let me know.

--
Best regards,
Jacek Anaszewski



[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