mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
node_device: Move DMI_DEVPATH into node_device_udev.c
The DMI_DEVPATH macro is used exclusively within node_device_udev.c. There's no need to expose it. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
4a00efe9cb
commit
a9db75ad3a
@ -52,6 +52,8 @@ VIR_LOG_INIT("node_device.node_device_udev");
|
||||
# define TYPE_RAID 12
|
||||
#endif
|
||||
|
||||
#define DMI_DEVPATH "/sys/devices/virtual/dmi/id"
|
||||
|
||||
typedef struct _udevEventData udevEventData;
|
||||
struct _udevEventData {
|
||||
virObjectLockable parent;
|
||||
|
@ -21,5 +21,3 @@
|
||||
#pragma once
|
||||
|
||||
#include <libudev.h>
|
||||
|
||||
#define DMI_DEVPATH "/sys/devices/virtual/dmi/id"
|
||||
|
Loading…
x
Reference in New Issue
Block a user