#include <asm/mach-ar71xx/ar71xx.h>
void __iomem *ar71xx_ddr_base;
+EXPORT_SYMBOL_GPL(ar71xx_ddr_base);
+
void __iomem *ar71xx_pll_base;
+EXPORT_SYMBOL_GPL(ar71xx_pll_base);
+
void __iomem *ar71xx_reset_base;
+EXPORT_SYMBOL_GPL(ar71xx_reset_base);
+
void __iomem *ar71xx_gpio_base;
+EXPORT_SYMBOL_GPL(ar71xx_gpio_base);
+
void __iomem *ar71xx_usb_ctrl_base;
+EXPORT_SYMBOL_GPL(ar71xx_usb_ctrl_base);
void ar71xx_device_stop(u32 mask)
{
unsigned long flags;
local_irq_save(flags);
- ar71xx_reset_wr(RESET_REG_RESET_MODULE,
- ar71xx_reset_rr(RESET_REG_RESET_MODULE) | mask);
+ ar71xx_reset_wr(AR71XX_RESET_REG_RESET_MODULE,
+ ar71xx_reset_rr(AR71XX_RESET_REG_RESET_MODULE) | mask);
local_irq_restore(flags);
}
EXPORT_SYMBOL_GPL(ar71xx_device_stop);
unsigned long flags;
local_irq_save(flags);
- ar71xx_reset_wr(RESET_REG_RESET_MODULE,
- ar71xx_reset_rr(RESET_REG_RESET_MODULE) & ~mask);
+ ar71xx_reset_wr(AR71XX_RESET_REG_RESET_MODULE,
+ ar71xx_reset_rr(AR71XX_RESET_REG_RESET_MODULE) & ~mask);
local_irq_restore(flags);
}
EXPORT_SYMBOL_GPL(ar71xx_device_start);