summaryrefslogtreecommitdiff
path: root/src/udev/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-04-09 17:37:29 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-04-09 17:47:19 -0400
commitfaed3b5ff10ac02a38d706861fc87e9ffc6142b7 (patch)
tree9798e9069659d3569ee906476cabfd53d4a34b4f /src/udev/udevd.c
parentab0a37ddcf9c9a68a5340a657b11531a02925c46 (diff)
build-sys: fix HAVE/ENABLE_FIRMWARE
This fixes: https://github.com/gentoo/eudev/issues/55 https://bugs.freedesktop.org/show_bug.cgi?id=62864 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r--src/udev/udevd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index da23a0d917..0fb7915b70 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -97,7 +97,7 @@ struct event {
dev_t devnum;
int ifindex;
bool is_block;
-#ifdef ENABLE_FIRMWARE
+#ifdef HAVE_FIRMWARE
bool nodelay;
#endif
};
@@ -443,7 +443,7 @@ static int event_queue_insert(struct udev_device *dev)
event->devnum = udev_device_get_devnum(dev);
event->is_block = streq("block", udev_device_get_subsystem(dev));
event->ifindex = udev_device_get_ifindex(dev);
-#ifdef ENABLE_FIRMWARE
+#ifdef HAVE_FIRMWARE
if (streq(udev_device_get_subsystem(dev), "firmware"))
event->nodelay = true;
#endif
@@ -526,7 +526,7 @@ static bool is_devpath_busy(struct event *event)
return true;
}
-#ifdef ENABLE_FIRMWARE
+#ifdef HAVE_FIRMWARE
/* allow to bypass the dependency tracking */
if (event->nodelay)
continue;