ar71xx: remove unnecessary includes

SVN-Revision: 18931
lede-17.01
Gabor Juhos 2009-12-25 13:09:00 +00:00
parent be2adce709
commit 7cf529c357
2 changed files with 1 additions and 5 deletions

View File

@ -11,9 +11,7 @@
#ifndef _AR71XX_DEV_AP91_PCI_H #ifndef _AR71XX_DEV_AP91_PCI_H
#define _AR71XX_DEV_AP91_PCI_H #define _AR71XX_DEV_AP91_PCI_H
#include <linux/spi/flash.h> #if defined(CONFIG_AR71XX_DEV_AP91_PCI)
#if defined(CONFIG_AR71XX_DEV_AP94_PCI)
void ap91_pci_init(u8 *cal_data, u8 *mac_addr) __init; void ap91_pci_init(u8 *cal_data, u8 *mac_addr) __init;
#else #else
static inline void ap91_pci_init(u8 *cal_data, u8 *mac_addr) { } static inline void ap91_pci_init(u8 *cal_data, u8 *mac_addr) { }

View File

@ -11,8 +11,6 @@
#ifndef _AR71XX_DEV_AP94_PCI_H #ifndef _AR71XX_DEV_AP94_PCI_H
#define _AR71XX_DEV_AP94_PCI_H #define _AR71XX_DEV_AP94_PCI_H
#include <linux/spi/flash.h>
#if defined(CONFIG_AR71XX_DEV_AP94_PCI) #if defined(CONFIG_AR71XX_DEV_AP94_PCI)
void ap94_pci_init(u8 *cal_data0, u8 *mac_addr0, void ap94_pci_init(u8 *cal_data0, u8 *mac_addr0,
u8 *cal_data1, u8 *mac_addr1) __init; u8 *cal_data1, u8 *mac_addr1) __init;