1 From 83bf4762e42a4d4a5c077f48d8f5715c9147d9b8 Mon Sep 17 00:00:00 2001
2 From: Aurelien Jacobs <aurel@gnuage.org>
3 Date: Mon, 1 Feb 2016 22:37:36 +0100
4 Subject: [PATCH] beaglelogic: use standard # operator instead of ugly __STRING
7 Also note that the __ namespace is reserved by POSIX for its private
8 usage, so user land software should never rely on any kind of API
11 Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
12 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
14 Patch downloaded from upstream git:
15 http://sigrok.org/gitweb/?p=libsigrok.git;a=commit;h=83bf4762e42a4d4a5c077f48d8f5715c9147d9b8
17 src/hardware/beaglelogic/beaglelogic.h | 3 +--
18 1 file changed, 1 insertion(+), 2 deletions(-)
20 diff --git a/src/hardware/beaglelogic/beaglelogic.h b/src/hardware/beaglelogic/beaglelogic.h
21 index 9015c61..96713ba 100644
22 --- a/src/hardware/beaglelogic/beaglelogic.h
23 +++ b/src/hardware/beaglelogic/beaglelogic.h
26 /* BeagleLogic device node name */
27 #define BEAGLELOGIC_DEV_NODE "/dev/beaglelogic"
28 -#define BEAGLELOGIC_SYSFS_ATTR(a) "/sys/devices/virtual/misc/beaglelogic/"\
30 +#define BEAGLELOGIC_SYSFS_ATTR(a) "/sys/devices/virtual/misc/beaglelogic/" #a
32 /* Reproduced verbatim from beaglelogic.h in the kernel tree until the kernel
33 * module hits the mainline. Contains the ABI, so DO NOT TOUCH this section */