diff mbox

[26/34] CIFS: Fix compile error with __init in cifs_init_dns_resolver() definition

Message ID 20100806185836.185076461@clark.site (mailing list archive)
State New, archived
Headers show

Commit Message

Greg Kroah-Hartman Aug. 6, 2010, 6:57 p.m. UTC
None
diff mbox

Patch

--- a/fs/cifs/dns_resolve.h
+++ b/fs/cifs/dns_resolve.h
@@ -24,6 +24,8 @@ 
 #define _DNS_RESOLVE_H
 
 #ifdef __KERNEL__
+#include <linux/module.h>
+
 extern int __init cifs_init_dns_resolver(void);
 extern void cifs_exit_dns_resolver(void);
 extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr);