1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-25 00:57:31 +02:00
openwrt-xburst/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap94-pci.h
juhosg 1f36168c60 ar71xx: remove stray semicolons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:57:20 +00:00

32 lines
968 B
C

/*
* Atheros AP94 reference board PCI initialization
*
* Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
#ifndef _AR71XX_DEV_AP94_PCI_H
#define _AR71XX_DEV_AP94_PCI_H
#if defined(CONFIG_AR71XX_DEV_AP94_PCI)
void ap94_pci_init(u8 *cal_data0, u8 *mac_addr0,
u8 *cal_data1, u8 *mac_addr1) __init;
void ap94_pci_setup_wmac_led_pin(unsigned wmac, int pin) __init;
void ap94_pci_setup_wmac_gpio(unsigned wmac, u32 mask, u32 val) __init;
#else
static inline void ap94_pci_init(u8 *cal_data0, u8 *mac_addr0,
u8 *cal_data1, u8 *mac_addr1) {}
static inline void ap94_pci_setup_wmac_led_pin(unsigned wmac, int pin) {}
static inline void ap94_pci_setup_wmac_gpio(unsigned wmac,
u32 mask, u32 val) {}
#endif
#endif /* _AR71XX_DEV_AP94_PCI_H */