summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/iscsi_ibft.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-11-03 15:00:57 +0100
committerVinod Koul <vinod.koul@intel.com>2015-11-16 09:05:31 +0530
commit638bdc8ce845285e1112f4870aded1638187fc98 (patch)
tree23d11f5dbc6a83bc2db1209839ce62b5d9b83516 /drivers/firmware/iscsi_ibft.c
parent500404ebcbd074ca11aa0c3fd9a268aa4054fd8b (diff)
downloadop-kernel-dev-638bdc8ce845285e1112f4870aded1638187fc98.zip
op-kernel-dev-638bdc8ce845285e1112f4870aded1638187fc98.tar.gz
dmaengine: edma: fix build without CONFIG_OF
During the edma rework, a build error was introduced for the case that CONFIG_OF is disabled: drivers/built-in.o: In function `edma_tc_set_pm_state': :(.text+0x43bf0): undefined reference to `of_find_device_by_node' As the edma_tc_set_pm_state() function does nothing in case we are running without OF, this adds an IS_ENABLED() check that turns the function into an empty stub then and avoids the link error. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: ca304fa9bb76 ("ARM/dmaengine: edma: Public API to use private struct pointer") Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/firmware/iscsi_ibft.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud