diff mbox

[2.6.32/stable] CIFS: Fix compile error with __init in cifs_init_dns_resolver() definition

Message ID 20749.1280874733@neuling.org (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Neuling Aug. 3, 2010, 10:32 p.m. UTC
None
diff mbox

Patch

Index: linux-2.6-ozlabs/fs/cifs/dns_resolve.h
===================================================================
--- linux-2.6-ozlabs.orig/fs/cifs/dns_resolve.h
+++ linux-2.6-ozlabs/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);