mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 08:44:02 -04:00
The file adf_cfg_services.h cannot be included in header files since it instantiates the structure adf_cfg_services. Move that structure to its own file and export the symbol. This does not introduce any functional change. Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Damian Muszynski <damian.muszynski@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
21 lines
542 B
C
21 lines
542 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/* Copyright(c) 2023 Intel Corporation */
|
|
|
|
#include <linux/export.h>
|
|
#include "adf_cfg_services.h"
|
|
#include "adf_cfg_strings.h"
|
|
|
|
const char *const adf_cfg_services[] = {
|
|
[SVC_CY] = ADF_CFG_CY,
|
|
[SVC_CY2] = ADF_CFG_ASYM_SYM,
|
|
[SVC_DC] = ADF_CFG_DC,
|
|
[SVC_DCC] = ADF_CFG_DCC,
|
|
[SVC_SYM] = ADF_CFG_SYM,
|
|
[SVC_ASYM] = ADF_CFG_ASYM,
|
|
[SVC_DC_ASYM] = ADF_CFG_DC_ASYM,
|
|
[SVC_ASYM_DC] = ADF_CFG_ASYM_DC,
|
|
[SVC_DC_SYM] = ADF_CFG_DC_SYM,
|
|
[SVC_SYM_DC] = ADF_CFG_SYM_DC,
|
|
};
|
|
EXPORT_SYMBOL_GPL(adf_cfg_services);
|