Commit 00da91f2 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix some escaped globals

parent 5ef7c68b
/*
* linux/drivers/ide/cy82c693.c Version 0.40 Sep. 10, 2002
* linux/drivers/ide/pci/cy82c693.c Version 0.40 Sep. 10, 2002
*
* Copyright (C) 1998-2000 Andreas S. Krebs (akrebs@altavista.net), Maintainer
* Copyright (C) 1998-2002 Andre Hedrick <andre@linux-ide.org>, Integrater
......@@ -335,7 +335,7 @@ static void cy82c693_tune_drive (ide_drive_t *drive, u8 pio)
/*
* this function is called during init and is used to setup the cy82c693 chip
*/
unsigned int __init init_chipset_cy82c693(struct pci_dev *dev, const char *name)
static unsigned int __init init_chipset_cy82c693(struct pci_dev *dev, const char *name)
{
if (PCI_FUNC(dev->devfn) != 1)
return 0;
......@@ -387,7 +387,7 @@ unsigned int __init init_chipset_cy82c693(struct pci_dev *dev, const char *name)
/*
* the init function - called for each ide channel once
*/
void __init init_hwif_cy82c693(ide_hwif_t *hwif)
static void __init init_hwif_cy82c693(ide_hwif_t *hwif)
{
hwif->autodma = 0;
......
......@@ -64,9 +64,9 @@ typedef struct pio_clocks_s {
u8 time_8; /* clocks for 8bit (0xF0=Active/data, 0x0F=Recovery) */
} pio_clocks_t;
extern unsigned int init_chipset_cy82c693(struct pci_dev *, const char *);
extern void init_hwif_cy82c693(ide_hwif_t *);
extern void init_iops_cy82c693(ide_hwif_t *);
static unsigned int init_chipset_cy82c693(struct pci_dev *, const char *);
static void init_hwif_cy82c693(ide_hwif_t *);
static void init_iops_cy82c693(ide_hwif_t *);
static ide_pci_device_t cy82c693_chipsets[] __devinitdata = {
{ /* 0 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment