Skip to content
Commit de8f520a authored by George Cherian's avatar George Cherian Committed by Ruiqiang Hao
Browse files

driver:mpam: Fix the compilations issues when ACPI is not selected



commit b9787ba7836e4f02b5e4db4fca59bdf5ce8b1df5 from
git@git.assembla.com:cavium/WindRiver.linux.git

Fix the compilation issues encountered while ACPI is not enabled
in kernel configuration. Following are the fixes
1) Remove the duplicate definition of find_acpi_cpu_cache_topology()
2) Make sure the ACPI API is called only if ACPI is selected in MPAM
   driver.
3)Include linux/module.h in mpam driver.

Change-Id: I056d93c6cbd82756bded72fac1ab8f76fae33ab0
Signed-off-by: default avatarGeorge Cherian <george.cherian@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/100541


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent ca07ca9e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment