--- linux-2.6.2.orig/include/linux/proc_fs.h 2004-02-03 22:45:13.000000000 -0500 +++ linux-2.6.2/include/linux/proc_fs.h 2004-02-13 08:03:31.000000000 -0500 @@ -138,6 +138,8 @@ #else /* !CONFIG_PROC_DEVICETREE */ static inline void proc_device_tree_add_node(struct device_node *np, struct proc_dir_entry *pde) { + np = np; + pde = pde; return; } #endif /* CONFIG_PROC_DEVICETREE */