mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 11:26:43 +07:00
c5ed1df781
Starting with kernel 3.19-rc1 early registration of bcma on MIPS is done a bit later, with memory allocator available. This allows us to simplify code by using standard bus scanning method. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
16 lines
315 B
C
16 lines
315 B
C
#ifndef LINUX_BCMA_SOC_H_
|
|
#define LINUX_BCMA_SOC_H_
|
|
|
|
#include <linux/bcma/bcma.h>
|
|
|
|
struct bcma_soc {
|
|
struct bcma_bus bus;
|
|
};
|
|
|
|
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_ */
|