When you include proc_fs.h you should not need _any_ ifdefs at all.
Inlined no-op versions of the procfs API functions are substituted when
!CONFIG_PROC_FS.
Regards,
Jeff
-- Custom driver development | Never worry about theory as long Open source programming | as the machinery does what it's | supposed to do. -- R. A. Heinlein- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/