diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-12-10 15:41:23 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 17:41:02 -0800 |
commit | 01ce18b31153427bcdccc9c9fd170fd28c03e6e8 (patch) | |
tree | b97bc43dac401cd4b3c746d6c08d883b969732ca /init | |
parent | 662e9b2b98a0b8e172c392f3d3437d354a6c4067 (diff) |
dma-debug: introduce dma_debug_disabled
Add a helper function which returns whether the DMA debugging API is
disabled, right now we only check for global_disable, but in order to
accommodate early callers of the DMA-API, we will check for more
initialization flags in the next patch.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Horia Geanta <horia.geanta@freescale.com>
Cc: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions