chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] correct enum device_type
[elogind.git]
/
udev_remove.c
diff --git
a/udev_remove.c
b/udev_remove.c
index
c3a7880
..
a81d20c
100644
(file)
--- a/
udev_remove.c
+++ b/
udev_remove.c
@@
-143,7
+143,7
@@
int udev_remove_device(struct udevice *udev)
{
const char *temp;
- if (udev->type !=
BLOCK && udev->type !=
CLASS)
+ if (udev->type !=
DEV_BLOCK && udev->type != DEV_
CLASS)
return 0;
if (udev_db_get_device(udev, udev->devpath) == 0) {