beaglelogic: use standard # operator instead of ugly __STRING macro
Also note that the __ namespace is reserved by POSIX for its private usage, so user land software should never rely on any kind of API with a __ prefix.
This commit is contained in:
parent
29d3876a0b
commit
83bf4762e4
|
@ -30,8 +30,7 @@
|
||||||
|
|
||||||
/* BeagleLogic device node name */
|
/* BeagleLogic device node name */
|
||||||
#define BEAGLELOGIC_DEV_NODE "/dev/beaglelogic"
|
#define BEAGLELOGIC_DEV_NODE "/dev/beaglelogic"
|
||||||
#define BEAGLELOGIC_SYSFS_ATTR(a) "/sys/devices/virtual/misc/beaglelogic/"\
|
#define BEAGLELOGIC_SYSFS_ATTR(a) "/sys/devices/virtual/misc/beaglelogic/" #a
|
||||||
__STRING(a)
|
|
||||||
|
|
||||||
/* Reproduced verbatim from beaglelogic.h in the kernel tree until the kernel
|
/* Reproduced verbatim from beaglelogic.h in the kernel tree until the kernel
|
||||||
* module hits the mainline. Contains the ABI, so DO NOT TOUCH this section */
|
* module hits the mainline. Contains the ABI, so DO NOT TOUCH this section */
|
||||||
|
|
Loading…
Reference in New Issue