aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2013-06-01 00:22:52 +0200
committerGrant Likely <[email protected]>2013-06-12 10:23:17 +0100
commit8a46f4f7f95f2bece108998a2e1b87b58f99d590 (patch)
tree772e3515955983e0284be67dec9f88e7860148a4 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent317ddd256b9c24b0d78fa8018f80f1e495481a10 (diff)
of: remove #ifdef from linux/of_platform.h
A lot of code uses the functions from of_platform.h when built for devicetree-enabled platforms but can also be built without them. In order to avoid using #ifdef everywhere in drivers, this makes all the function declarations visible, which means we can use "if (IS_ENABLED(CONFIG_OF))" in driver code and get build coverage over the code but let the compiler drop the reference in the object code. Signed-off-by: Arnd Bergmann <[email protected]> Cc: Grant Likely <[email protected]> Cc: Rob Herring <[email protected]> Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions