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
nexedi
linux
Commits
399bbfef
Commit
399bbfef
authored
Oct 05, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: remove pci_module_init() usage from drivers/pci/hotplug/*
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
58a554ea
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
drivers/pci/hotplug/cpcihp_zt5550.c
drivers/pci/hotplug/cpcihp_zt5550.c
+1
-1
drivers/pci/hotplug/cpqphp_core.c
drivers/pci/hotplug/cpqphp_core.c
+2
-2
drivers/pci/hotplug/ibmphp_ebda.c
drivers/pci/hotplug/ibmphp_ebda.c
+1
-1
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pciehp_core.c
+2
-2
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_core.c
+2
-2
No files found.
drivers/pci/hotplug/cpcihp_zt5550.c
View file @
399bbfef
...
...
@@ -283,7 +283,7 @@ static int __init zt5550_init(void)
if
(
!
r
)
return
-
EBUSY
;
return
pci_
module_init
(
&
zt5550_hc_driver
);
return
pci_
register_driver
(
&
zt5550_hc_driver
);
}
static
void
__exit
...
...
drivers/pci/hotplug/cpqphp_core.c
View file @
399bbfef
...
...
@@ -1487,8 +1487,8 @@ static int __init cpqhpc_init(void)
cpqhp_debug
=
debug
;
info
(
DRIVER_DESC
" version: "
DRIVER_VERSION
"
\n
"
);
result
=
pci_
module_init
(
&
cpqhpc_driver
);
dbg
(
"pci_
module_init
= %d
\n
"
,
result
);
result
=
pci_
register_driver
(
&
cpqhpc_driver
);
dbg
(
"pci_
register_driver
= %d
\n
"
,
result
);
return
result
;
}
...
...
drivers/pci/hotplug/ibmphp_ebda.c
View file @
399bbfef
...
...
@@ -1246,7 +1246,7 @@ int ibmphp_register_pci (void)
list_for_each
(
tmp
,
&
ebda_hpc_head
)
{
ctrl
=
list_entry
(
tmp
,
struct
controller
,
ebda_hpc_list
);
if
(
ctrl
->
ctlr_type
==
1
)
{
rc
=
pci_
module_init
(
&
ibmphp_driver
);
rc
=
pci_
register_driver
(
&
ibmphp_driver
);
break
;
}
}
...
...
drivers/pci/hotplug/pciehp_core.c
View file @
399bbfef
...
...
@@ -602,8 +602,8 @@ static int __init pcied_init(void)
retval
=
pciehprm_init
(
PCI
);
if
(
!
retval
)
{
retval
=
pci_
module_init
(
&
pcie_driver
);
dbg
(
"pci_
module_init
= %d
\n
"
,
retval
);
retval
=
pci_
register_driver
(
&
pcie_driver
);
dbg
(
"pci_
register_driver
= %d
\n
"
,
retval
);
info
(
DRIVER_DESC
" version: "
DRIVER_VERSION
"
\n
"
);
}
...
...
drivers/pci/hotplug/shpchp_core.c
View file @
399bbfef
...
...
@@ -599,8 +599,8 @@ static int __init shpcd_init(void)
retval
=
shpchprm_init
(
PCI
);
if
(
!
retval
)
{
retval
=
pci_
module_init
(
&
shpc_driver
);
dbg
(
"%s: pci_
module_init
= %d
\n
"
,
__FUNCTION__
,
retval
);
retval
=
pci_
register_driver
(
&
shpc_driver
);
dbg
(
"%s: pci_
register_driver
= %d
\n
"
,
__FUNCTION__
,
retval
);
info
(
DRIVER_DESC
" version: "
DRIVER_VERSION
"
\n
"
);
}
...
...
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