summaryrefslogtreecommitdiff
path: root/udev_remove.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-02-21 13:45:04 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:36:13 -0700
commit5ef42682053f57fc031d420f0a2ae3e204421b8d (patch)
tree7ddd231fd445f1dfc10f2f22e1dae7b551a0ced9 /udev_remove.c
parent7e720bd4ad8257d81d273d98294ebbcc03ade9ba (diff)
[PATCH] switch device type to enum
Diffstat (limited to 'udev_remove.c')
-rw-r--r--udev_remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_remove.c b/udev_remove.c
index 3a3db737c1..0ba6962cad 100644
--- a/udev_remove.c
+++ b/udev_remove.c
@@ -147,7 +147,7 @@ int udev_remove_device(struct udevice *udev)
const char *temp;
int retval;
- if (udev->type != 'b' && udev->type != 'c')
+ if (udev->type != BLOCK && udev->type != CLASS)
return 0;
retval = udev_db_get_device(udev);