summaryrefslogtreecommitdiff
path: root/udev_lib.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-13 12:36:47 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:27:34 -0700
commitd402af7d71be3b89eac5877a425f2c6bce5c4f3d (patch)
tree6a58878421d250fd1c2d45409f35b20d57320a36 /udev_lib.h
parent2092fbcdebf5313f29b43bdaa57a22baf0c0269f (diff)
[PATCH] don't wait for sysfs if the kernel(2.6.10-rc2) tells us what not to expect
Newer kernels will tell us if we should wait for the "device" or the "bus" link. So don't waste the time with our lists or wait for the timeout.
Diffstat (limited to 'udev_lib.h')
-rw-r--r--udev_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_lib.h b/udev_lib.h
index 2bc9ba82ab..80dc49cd54 100644
--- a/udev_lib.h
+++ b/udev_lib.h
@@ -79,12 +79,12 @@ do { \
extern char get_device_type(const char *path, const char *subsystem);
extern void udev_set_values(struct udevice *udev, const char* devpath,
const char *subsystem, const char* action);
+extern int kernel_release_satisfactory(int version, int patchlevel, int sublevel);
extern int create_path(const char *path);
extern int file_map(const char *filename, char **buf, size_t *bufsize);
extern void file_unmap(char *buf, size_t bufsize);
extern size_t buf_get_line(char *buf, size_t buflen, size_t cur);
extern void no_trailing_slash(char *path);
-
typedef int (*file_fnct_t)(const char *filename, void *data);
extern int call_foreach_file(file_fnct_t fnct, const char *dirname,
const char *suffix, void *data);