From: Stefan Richter Date: Fri, 2 Apr 2010 12:05:02 +0000 (+0200) Subject: firewire: ohci: cleanups and fix for nonstandard build without debug facility X-Git-Tag: v2.6.35-rc1~41^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5da3dac8d99c9933f12286fd73fa18e26f768bea;p=pandora-kernel.git firewire: ohci: cleanups and fix for nonstandard build without debug facility 1) Clean up two function names: The ohci_ prefix is only used in names of fw_card_driver hooks. There were two unnecessary exceptions. 2) Replace empty macros by empty inline functions so that call parameter type checking is available in #ifndef'd builds. 3) CONFIG_FIREWIRE_OHCI_DEBUG is currently a hidden kconfig variable, hence is not going to be switched off by anybody. Still, it can be switched off but then compilation will fail in ohci_enable() at the expression param_debug & OHCI_PARAM_DEBUG_BUSRESETS. Add the necessary definitions in the nonstandard case. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed