mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
a395135dde
This is required to split SoC bus init into two phases. The later one (which includes scanning) should be called when kalloc is available. Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
18 lines
375 B
C
18 lines
375 B
C
#ifndef LINUX_BCMA_SOC_H_
|
|
#define LINUX_BCMA_SOC_H_
|
|
|
|
#include <linux/bcma/bcma.h>
|
|
|
|
struct bcma_soc {
|
|
struct bcma_bus bus;
|
|
struct bcma_device core_cc;
|
|
struct bcma_device core_mips;
|
|
};
|
|
|
|
int __init bcma_host_soc_register(struct bcma_soc *soc);
|
|
int __init bcma_host_soc_init(struct bcma_soc *soc);
|
|
|
|
int bcma_bus_register(struct bcma_bus *bus);
|
|
|
|
#endif /* LINUX_BCMA_SOC_H_ */
|