]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/beaglelogic/beaglelogic.h
beaglelogic: use standard # operator instead of ugly __STRING macro
[libsigrok.git] / src / hardware / beaglelogic / beaglelogic.h
index 9015c61035e37787bf38792095ef32884d35f0ee..96713ba707d9b0a647d2a0cd2a7826c2208969e3 100644 (file)
@@ -30,8 +30,7 @@
 
 /* BeagleLogic device node name */
 #define BEAGLELOGIC_DEV_NODE        "/dev/beaglelogic"
-#define BEAGLELOGIC_SYSFS_ATTR(a)   "/sys/devices/virtual/misc/beaglelogic/"\
-                                       __STRING(a)
+#define BEAGLELOGIC_SYSFS_ATTR(a)   "/sys/devices/virtual/misc/beaglelogic/" #a
 
 /* 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 */