staging: ft1000: Remove unnecessary externs
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignment Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b3ff291009
commit
fd8c5cb5ac
|
@ -42,17 +42,16 @@ struct ft1000_pcmcia {
|
||||||
|
|
||||||
struct pcmcia_device;
|
struct pcmcia_device;
|
||||||
struct net_device;
|
struct net_device;
|
||||||
extern struct net_device *init_ft1000_card(struct pcmcia_device *link,
|
struct net_device *init_ft1000_card(struct pcmcia_device *link,
|
||||||
void *ft1000_reset);
|
void *ft1000_reset);
|
||||||
extern void stop_ft1000_card(struct net_device *dev);
|
void stop_ft1000_card(struct net_device *dev);
|
||||||
extern int card_download(struct net_device *dev, const u8 *pFileStart,
|
int card_download(struct net_device *dev, const u8 *pFileStart,
|
||||||
size_t FileLength);
|
size_t FileLength);
|
||||||
|
|
||||||
extern u16 ft1000_read_dpram(struct net_device *dev, int offset);
|
u16 ft1000_read_dpram(struct net_device *dev, int offset);
|
||||||
extern void card_bootload(struct net_device *dev);
|
void card_bootload(struct net_device *dev);
|
||||||
extern u16 ft1000_read_dpram_mag_16(struct net_device *dev, int offset,
|
u16 ft1000_read_dpram_mag_16(struct net_device *dev, int offset, int Index);
|
||||||
int Index);
|
u32 ft1000_read_dpram_mag_32(struct net_device *dev, int offset);
|
||||||
extern u32 ft1000_read_dpram_mag_32(struct net_device *dev, int offset);
|
|
||||||
void ft1000_write_dpram_mag_32(struct net_device *dev, int offset, u32 value);
|
void ft1000_write_dpram_mag_32(struct net_device *dev, int offset, u32 value);
|
||||||
|
|
||||||
/* Read the value of a given ASIC register. */
|
/* Read the value of a given ASIC register. */
|
||||||
|
|
|
@ -134,8 +134,8 @@ extern spinlock_t free_buff_lock;
|
||||||
|
|
||||||
int ft1000_create_dev(struct ft1000_usb *dev);
|
int ft1000_create_dev(struct ft1000_usb *dev);
|
||||||
void ft1000_destroy_dev(struct net_device *dev);
|
void ft1000_destroy_dev(struct net_device *dev);
|
||||||
extern int card_send_command(struct ft1000_usb *ft1000dev,
|
int card_send_command(struct ft1000_usb *ft1000dev,
|
||||||
void *ptempbuffer, int size);
|
void *ptempbuffer, int size);
|
||||||
|
|
||||||
struct dpram_blk *ft1000_get_buffer(struct list_head *bufflist);
|
struct dpram_blk *ft1000_get_buffer(struct list_head *bufflist);
|
||||||
void ft1000_free_buffer(struct dpram_blk *pdpram_blk, struct list_head *plist);
|
void ft1000_free_buffer(struct dpram_blk *pdpram_blk, struct list_head *plist);
|
||||||
|
|
Loading…
Reference in a new issue