bcma_private.h 586 B

1234567891011121314151617181920212223242526272829
  1. #ifndef LINUX_BCMA_PRIVATE_H_
  2. #define LINUX_BCMA_PRIVATE_H_
  3. #ifndef pr_fmt
  4. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  5. #endif
  6. #include <linux/bcma/bcma.h>
  7. #include <linux/delay.h>
  8. #define BCMA_CORE_SIZE 0x1000
  9. struct bcma_bus;
  10. /* main.c */
  11. extern int bcma_bus_register(struct bcma_bus *bus);
  12. extern void bcma_bus_unregister(struct bcma_bus *bus);
  13. /* scan.c */
  14. int bcma_bus_scan(struct bcma_bus *bus);
  15. #ifdef CONFIG_BCMA_HOST_PCI
  16. /* host_pci.c */
  17. extern int __init bcma_host_pci_init(void);
  18. extern void __exit bcma_host_pci_exit(void);
  19. #endif /* CONFIG_BCMA_HOST_PCI */
  20. #endif