Make udev_event a generic event
authorGeoff Levand <geoffrey.levand@am.sony.com>
Sun, 12 Apr 2009 15:11:53 +0000 (15:11 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 30 Jun 2009 07:29:20 +0000 (15:29 +0800)
commitd7ce19907ff585e7fb6b950a40bd638d49c96a27
tree16ce0e186e9a99a676fc925465823fe744b71d03
parent4414db4f4442009008ef15658bd4df2349c62ec7
Make udev_event a generic event

The struct udev_event can be used as a generic event, so rename it
struct event and move it from udev.h into a new file event.h.
Also, rename the emums UDEV_ACTION_ADD and UDEV_ACTION_REMOVE
to ACTION_UDEV_ADD and ACTION_UDEV_REMOVE.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/device-handler.c
discover/device-handler.h
discover/event.c [new file with mode: 0644]
discover/event.h [new file with mode: 0644]
discover/parser-utils.c
discover/udev.c
discover/udev.h
rules.mk