mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +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
|
# define TYPE_RAID 12
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define DMI_DEVPATH "/sys/devices/virtual/dmi/id"
|
||||||
|
|
||||||
typedef struct _udevEventData udevEventData;
|
typedef struct _udevEventData udevEventData;
|
||||||
struct _udevEventData {
|
struct _udevEventData {
|
||||||
virObjectLockable parent;
|
virObjectLockable parent;
|
||||||
|
@ -21,5 +21,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <libudev.h>
|
#include <libudev.h>
|
||||||
|
|
||||||
#define DMI_DEVPATH "/sys/devices/virtual/dmi/id"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user