In preparation into core/SPI split, move enum m10bmc_type to include/linux/mfd/intel-m10-bmc.h. Reviewed-by: Russ Weight <russell.h.weight@xxxxxxxxx> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> --- drivers/mfd/intel-m10-bmc.c | 6 ------ include/linux/mfd/intel-m10-bmc.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/intel-m10-bmc.c b/drivers/mfd/intel-m10-bmc.c index 7e3319e5b22f..ee167c5dcd29 100644 --- a/drivers/mfd/intel-m10-bmc.c +++ b/drivers/mfd/intel-m10-bmc.c @@ -13,12 +13,6 @@ #include <linux/regmap.h> #include <linux/spi/spi.h> -enum m10bmc_type { - M10_N3000, - M10_D5005, - M10_N5010, -}; - static struct mfd_cell m10bmc_d5005_subdevs[] = { { .name = "d5005bmc-hwmon" }, { .name = "d5005bmc-sec-update" } diff --git a/include/linux/mfd/intel-m10-bmc.h b/include/linux/mfd/intel-m10-bmc.h index f0044b14136e..d77383a8a410 100644 --- a/include/linux/mfd/intel-m10-bmc.h +++ b/include/linux/mfd/intel-m10-bmc.h @@ -9,6 +9,12 @@ #include <linux/regmap.h> +enum m10bmc_type { + M10_N3000, + M10_D5005, + M10_N5010, +}; + #define M10BMC_LEGACY_BUILD_VER 0x300468 #define M10BMC_SYS_BASE 0x300800 #define M10BMC_SYS_END 0x300fff -- 2.30.2