Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31439
b: refs/heads/master
c: a6a888b
h: refs/heads/master
i:
  31437: 80f1819
  31435: 562b9b3
  31431: efac34a
  31423: f55bb6d
v: v3
  • Loading branch information
Kristen Accardi authored and Len Brown committed Jun 27, 2006
1 parent 9295f67 commit ae7de97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e7d8818114f08ad9078d2c1a8a88d78d49de8dc
refs/heads/master: a6a888b3c20cf559c8a2e6e4d86c570dda2ef0f5
2 changes: 2 additions & 0 deletions trunk/include/linux/kobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ enum kobject_action {
KOBJ_UMOUNT = (__force kobject_action_t) 0x05, /* umount event for block devices (broken) */
KOBJ_OFFLINE = (__force kobject_action_t) 0x06, /* device offline */
KOBJ_ONLINE = (__force kobject_action_t) 0x07, /* device online */
KOBJ_UNDOCK = (__force kobject_action_t) 0x08, /* undocking */
KOBJ_DOCK = (__force kobject_action_t) 0x09, /* dock */
};

struct kobject {
Expand Down
4 changes: 4 additions & 0 deletions trunk/lib/kobject_uevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ static char *action_to_string(enum kobject_action action)
return "offline";
case KOBJ_ONLINE:
return "online";
case KOBJ_DOCK:
return "dock";
case KOBJ_UNDOCK:
return "undock";
default:
return NULL;
}
Expand Down

0 comments on commit ae7de97

Please sign in to comment.