summaryrefslogtreecommitdiff
path: root/drivers/firewire/core-cdev.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2010-04-02 12:05:02 (GMT)
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-04-10 14:51:14 (GMT)
commit5da3dac8d99c9933f12286fd73fa18e26f768bea (patch)
tree8db17c8e7996c92381920a0e97380a5adc8a6d7a /drivers/firewire/core-cdev.c
parent35d999b12037b5ea0152889232629c25d45b0e26 (diff)
downloadlinux-5da3dac8d99c9933f12286fd73fa18e26f768bea.tar.xz
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 <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/core-cdev.c')
0 files changed, 0 insertions, 0 deletions