summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/parport.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-10-01 15:20:33 +0200
committerThierry Reding <treding@nvidia.com>2014-11-10 15:59:22 +0100
commit9216efafc52ff99e9351ef60de5fcafc2bc8adb6 (patch)
tree96f7dccf719a10045a90c70a0de95cbd692c926f /include/asm-generic/parport.h
parent4707a341b4af57c72c1573a89d303559cf7bcf88 (diff)
asm-generic/io.h: Reconcile I/O accessor overrides
Overriding I/O accessors and helpers is currently very inconsistent. This commit introduces a homogeneous way to override functions by checking for the existence of a macro with the same of the function. Architectures can provide their own implementations and communicate this to the generic header by defining the appropriate macro. Doing this will also help prevent the implementations from being subsequently overridden. While at it, also turn a lot of macros into static inline functions for better type checking and to provide a canonical signature for overriding architectures to copy. Also reorder functions by logical groups. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/asm-generic/parport.h')
0 files changed, 0 insertions, 0 deletions