[PATCH, re-send] drm: always provide debugfs function prototypes

2013-07-05 Thread Arnd Bergmann
It is generally considered bad style to enclose function prototypes in header files in #ifdef. This case illustrates why that is: The tegra host1x driver calls into the debugfs functions if CONFIG_DEBUG_FS is enabled, but that code is otherwise already discarded by the compiler, so leaving the

[PATCH, re-send] drm: always provide debugfs function prototypes

2013-07-05 Thread Arnd Bergmann
It is generally considered bad style to enclose function prototypes in header files in #ifdef. This case illustrates why that is: The tegra host1x driver calls into the debugfs functions if CONFIG_DEBUG_FS is enabled, but that code is otherwise already discarded by the compiler, so leaving the