X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fkmod.h;h=95d0e4b0814daa4b77b0df7b0d3e2418607726b4;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=7c5af18df9d11b504472382b902beb07026f639e;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/linux/kmod.h b/include/linux/kmod.h index 7c5af18df..95d0e4b08 100644 --- a/include/linux/kmod.h +++ b/include/linux/kmod.h @@ -23,6 +23,8 @@ #include #include +#define KMOD_PATH_LEN 256 + #ifdef CONFIG_KMOD /* modprobe exit status on success, -ve on error. Return value * usually useless though. */ @@ -33,9 +35,6 @@ static inline int request_module(const char * name, ...) { return -ENOSYS; } #define try_then_request_module(x, mod...) ((x) ?: (request_module(mod), (x))) extern int call_usermodehelper(char *path, char *argv[], char *envp[], int wait); - -#ifdef CONFIG_HOTPLUG -extern char hotplug_path []; -#endif +extern void usermodehelper_init(void); #endif /* __LINUX_KMOD_H__ */