Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c8495560
Commit
c8495560
authored
Feb 25, 2004
by
Bartlomiej Zolnierkiewicz
Committed by
Linus Torvalds
Feb 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove redundant ide_setup_pci_device{s}() declarations
parent
632c6868
Changes
23
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
1 addition
and
57 deletions
+1
-57
drivers/ide/pci/aec62xx.c
drivers/ide/pci/aec62xx.c
+0
-2
drivers/ide/pci/alim15x3.c
drivers/ide/pci/alim15x3.c
+0
-3
drivers/ide/pci/amd74xx.c
drivers/ide/pci/amd74xx.c
+0
-2
drivers/ide/pci/cmd64x.c
drivers/ide/pci/cmd64x.c
+0
-2
drivers/ide/pci/cs5530.c
drivers/ide/pci/cs5530.c
+0
-3
drivers/ide/pci/generic.c
drivers/ide/pci/generic.c
+1
-4
drivers/ide/pci/hpt34x.c
drivers/ide/pci/hpt34x.c
+0
-2
drivers/ide/pci/hpt366.c
drivers/ide/pci/hpt366.c
+0
-3
drivers/ide/pci/it8172.c
drivers/ide/pci/it8172.c
+0
-2
drivers/ide/pci/ns87415.c
drivers/ide/pci/ns87415.c
+0
-2
drivers/ide/pci/opti621.c
drivers/ide/pci/opti621.c
+0
-2
drivers/ide/pci/pdc202xx_new.c
drivers/ide/pci/pdc202xx_new.c
+0
-3
drivers/ide/pci/pdc202xx_old.c
drivers/ide/pci/pdc202xx_old.c
+0
-3
drivers/ide/pci/piix.c
drivers/ide/pci/piix.c
+0
-2
drivers/ide/pci/rz1000.c
drivers/ide/pci/rz1000.c
+0
-2
drivers/ide/pci/sc1200.c
drivers/ide/pci/sc1200.c
+0
-3
drivers/ide/pci/serverworks.c
drivers/ide/pci/serverworks.c
+0
-2
drivers/ide/pci/siimage.c
drivers/ide/pci/siimage.c
+0
-3
drivers/ide/pci/sis5513.c
drivers/ide/pci/sis5513.c
+0
-3
drivers/ide/pci/sl82c105.c
drivers/ide/pci/sl82c105.c
+0
-2
drivers/ide/pci/slc90e66.c
drivers/ide/pci/slc90e66.c
+0
-3
drivers/ide/pci/trm290.c
drivers/ide/pci/trm290.c
+0
-2
drivers/ide/pci/via82cxxx.c
drivers/ide/pci/via82cxxx.c
+0
-2
No files found.
drivers/ide/pci/aec62xx.c
View file @
c8495560
...
...
@@ -490,8 +490,6 @@ static void __init init_dma_aec62xx (ide_hwif_t *hwif, unsigned long dmabase)
ide_setup_dma
(
hwif
,
dmabase
,
8
);
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
void
__init
init_setup_aec62xx
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
{
ide_setup_pci_device
(
dev
,
d
);
...
...
drivers/ide/pci/alim15x3.c
View file @
c8495560
...
...
@@ -853,9 +853,6 @@ static void __init init_dma_ali15x3 (ide_hwif_t *hwif, unsigned long dmabase)
ide_setup_dma
(
hwif
,
dmabase
,
8
);
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
/**
* alim15x3_init_one - set up an ALi15x3 IDE controller
* @dev: PCI device to set up
...
...
drivers/ide/pci/amd74xx.c
View file @
c8495560
...
...
@@ -441,8 +441,6 @@ static void __init init_hwif_amd74xx(ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
amd74xx_probe
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
amd_chipset
=
amd74xx_chipsets
+
id
->
driver_data
;
...
...
drivers/ide/pci/cmd64x.c
View file @
c8495560
...
...
@@ -744,8 +744,6 @@ static void __init init_hwif_cmd64x (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
cmd64x_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
cmd64x_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/cs5530.c
View file @
c8495560
...
...
@@ -404,9 +404,6 @@ static void __init init_hwif_cs5530 (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
cs5530_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
cs5530_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/generic.c
View file @
c8495560
...
...
@@ -72,10 +72,7 @@ static void __init init_hwif_generic (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
#if 0
/* Logic to add back later on */
if ((dev->class >> 8) == PCI_CLASS_STORAGE_IDE) {
...
...
drivers/ide/pci/hpt34x.c
View file @
c8495560
...
...
@@ -317,8 +317,6 @@ static void __init init_hwif_hpt34x (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
hpt34x_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
hpt34x_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/hpt366.c
View file @
c8495560
...
...
@@ -1124,9 +1124,6 @@ static void __init init_dma_hpt366 (ide_hwif_t *hwif, unsigned long dmabase)
ide_setup_dma
(
hwif
,
dmabase
,
8
);
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
extern
void
ide_setup_pci_devices
(
struct
pci_dev
*
,
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
void
__init
init_setup_hpt374
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
{
struct
pci_dev
*
findev
=
NULL
;
...
...
drivers/ide/pci/it8172.c
View file @
c8495560
...
...
@@ -286,8 +286,6 @@ static void __init init_hwif_it8172 (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
it8172_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
it8172_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/ns87415.c
View file @
c8495560
...
...
@@ -217,8 +217,6 @@ static void __init init_hwif_ns87415 (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
ns87415_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
ns87415_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/opti621.c
View file @
c8495560
...
...
@@ -348,8 +348,6 @@ static void __init init_hwif_opti621 (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
void
__init
init_setup_opti621
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
{
ide_setup_pci_device
(
dev
,
d
);
...
...
drivers/ide/pci/pdc202xx_new.c
View file @
c8495560
...
...
@@ -612,9 +612,6 @@ static void __init init_hwif_pdc202new (ide_hwif_t *hwif)
#endif
/* PDC202_DEBUG_CABLE */
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
extern
void
ide_setup_pci_devices
(
struct
pci_dev
*
,
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
void
__init
init_setup_pdcnew
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
{
ide_setup_pci_device
(
dev
,
d
);
...
...
drivers/ide/pci/pdc202xx_old.c
View file @
c8495560
...
...
@@ -830,9 +830,6 @@ static void __init init_dma_pdc202xx (ide_hwif_t *hwif, unsigned long dmabase)
ide_setup_dma
(
hwif
,
dmabase
,
8
);
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
extern
void
ide_setup_pci_devices
(
struct
pci_dev
*
,
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
void
__init
init_setup_pdc202ata4
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
{
if
((
dev
->
class
>>
8
)
!=
PCI_CLASS_STORAGE_IDE
)
{
...
...
drivers/ide/pci/piix.c
View file @
c8495560
...
...
@@ -711,8 +711,6 @@ static void __init init_hwif_piix (ide_hwif_t *hwif)
hwif
->
drives
[
0
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
/**
* init_setup_piix - callback for IDE initialize
* @dev: PIIX PCI device
...
...
drivers/ide/pci/rz1000.c
View file @
c8495560
...
...
@@ -54,8 +54,6 @@ static void __init init_hwif_rz1000 (ide_hwif_t *hwif)
}
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
rz1000_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
rz1000_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/sc1200.c
View file @
c8495560
...
...
@@ -545,9 +545,6 @@ static void __init init_hwif_sc1200 (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
sc1200_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
sc1200_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/serverworks.c
View file @
c8495560
...
...
@@ -754,8 +754,6 @@ static void __init init_dma_svwks (ide_hwif_t *hwif, unsigned long dmabase)
ide_setup_dma
(
hwif
,
dmabase
,
8
);
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
void
__init
init_setup_svwks
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
{
ide_setup_pci_device
(
dev
,
d
);
...
...
drivers/ide/pci/siimage.c
View file @
c8495560
...
...
@@ -1172,9 +1172,6 @@ static void __init init_hwif_siimage (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
/**
* siimage_init_one - pci layer discovery entry
* @dev: PCI device
...
...
drivers/ide/pci/sis5513.c
View file @
c8495560
...
...
@@ -944,9 +944,6 @@ static void __init init_hwif_sis5513 (ide_hwif_t *hwif)
return
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
sis5513_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
sis5513_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/sl82c105.c
View file @
c8495560
...
...
@@ -481,8 +481,6 @@ static void __init init_hwif_sl82c105(ide_hwif_t *hwif)
#endif
/* CONFIG_BLK_DEV_IDEDMA */
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
sl82c105_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
sl82c105_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/slc90e66.c
View file @
c8495560
...
...
@@ -364,9 +364,6 @@ static void __init init_hwif_slc90e66 (ide_hwif_t *hwif)
#endif
/* !CONFIG_BLK_DEV_IDEDMA */
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
slc90e66_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
slc90e66_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/trm290.c
View file @
c8495560
...
...
@@ -395,8 +395,6 @@ void __init init_hwif_trm290 (ide_hwif_t *hwif)
#endif
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
trm290_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
trm290_chipsets
[
id
->
driver_data
];
...
...
drivers/ide/pci/via82cxxx.c
View file @
c8495560
...
...
@@ -607,8 +607,6 @@ static void __init init_hwif_via82cxxx(ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
int
__devinit
via_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
ide_pci_device_t
*
d
=
&
via82cxxx_chipsets
[
id
->
driver_data
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment