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
cd290c4a
Commit
cd290c4a
authored
Jun 04, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PCI]: Move pci_remove_bus_device back to include/linux/pci.h, discussed with greg@kroah.com
parent
11a2b999
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
drivers/pci/pci.h
drivers/pci/pci.h
+0
-1
include/linux/pci.h
include/linux/pci.h
+2
-0
No files found.
drivers/pci/pci.h
View file @
cd290c4a
...
...
@@ -25,7 +25,6 @@ static inline int pci_proc_detach_bus(struct pci_bus *bus) { return 0; }
/* Functions for PCI Hotplug drivers to use */
extern
struct
pci_bus
*
pci_add_new_bus
(
struct
pci_bus
*
parent
,
struct
pci_dev
*
dev
,
int
busnr
);
extern
unsigned
int
pci_do_scan_bus
(
struct
pci_bus
*
bus
);
extern
void
pci_remove_bus_device
(
struct
pci_dev
*
dev
);
extern
int
pci_remove_device_safe
(
struct
pci_dev
*
dev
);
extern
unsigned
char
pci_max_busnr
(
void
);
extern
unsigned
char
pci_bus_max_busnr
(
struct
pci_bus
*
bus
);
...
...
include/linux/pci.h
View file @
cd290c4a
...
...
@@ -559,6 +559,8 @@ int pci_get_interrupt_pin(struct pci_dev *dev, struct pci_dev **bridge);
extern
struct
pci_dev
*
pci_get_dev
(
struct
pci_dev
*
dev
);
extern
void
pci_put_dev
(
struct
pci_dev
*
dev
);
extern
void
pci_remove_bus_device
(
struct
pci_dev
*
dev
);
/* Generic PCI functions exported to card drivers */
struct
pci_dev
*
pci_find_device
(
unsigned
int
vendor
,
unsigned
int
device
,
const
struct
pci_dev
*
from
);
...
...
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