From 7ed9009bbdf799be5f9f1446c264b8504f483beb Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 4 May 2007 22:13:42 +0000 Subject: convert brcm-2.4 to the new target structure git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7092 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../brcm-2.4/files/arch/mips/bcm947xx/export.c | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 target/linux/brcm-2.4/files/arch/mips/bcm947xx/export.c (limited to 'target/linux/brcm-2.4/files/arch/mips/bcm947xx/export.c') diff --git a/target/linux/brcm-2.4/files/arch/mips/bcm947xx/export.c b/target/linux/brcm-2.4/files/arch/mips/bcm947xx/export.c new file mode 100644 index 000000000..9da9572ab --- /dev/null +++ b/target/linux/brcm-2.4/files/arch/mips/bcm947xx/export.c @@ -0,0 +1,71 @@ +#include + +#define _export(n) \ + void n(void); \ + EXPORT_SYMBOL(n); + +_export(bcm947xx_sbh) + +_export(sb_attach) +_export(sb_kattach) +_export(sb_boardtype) +_export(sb_boardvendor) +_export(sb_btcgpiowar) +_export(sb_bus) +_export(sb_chip) +_export(sb_chiprev) +_export(sb_chipcrev) +_export(sb_chippkg) +_export(sb_clkctl_clk) +_export(sb_clkctl_fast_pwrup_delay) +_export(sb_clkctl_init) +_export(sb_clkctl_xtal) +_export(sb_core_disable) +_export(sb_core_reset) +_export(sb_core_tofixup) +_export(sb_coreflags) +_export(sb_coreflagshi) +_export(sb_coreidx) +_export(sb_coreregs) +_export(sb_corerev) +_export(sb_coreunit) +_export(sb_detach) +_export(sb_deviceremoved) +_export(sb_gpiosetcore) +_export(sb_gpiocontrol) +_export(sb_gpiointmask) +_export(sb_gpiointpolarity) +_export(sb_gpioled) +_export(sb_gpioin) +_export(sb_gpioout) +_export(sb_gpioouten) +_export(sb_gpiotimerval) +_export(sb_irq) +_export(sb_iscoreup) +_export(sb_pci_setup) +_export(sb_pcirev) +_export(sb_pcmcia_init) +_export(sb_pcmciarev) +_export(sb_register_intr_callback) +_export(sb_setcore) +_export(sb_setcoreidx) +_export(sb_war16165) +_export(sb_war32414_forceHT) +_export(sb_osh) + +_export(getvar) +_export(getintvar) +_export(bcm_strtoul) +_export(bcm_ctype) +_export(bcm_toupper) +_export(bcm_ether_ntoa) + +_export(nvram_get) +_export(nvram_getall) +_export(nvram_set) +_export(nvram_unset) +_export(nvram_commit) + +_export(srom_read) +_export(srom_write) + -- cgit v1.2.3