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
d22e25bf
Commit
d22e25bf
authored
Apr 11, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PCMCIA] Re-export pci_bus_alloc_resource() from PCI code.
Since PCMCIA now uses this, re-export it.
parent
40ac26f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
drivers/pci/bus.c
drivers/pci/bus.c
+1
-0
include/linux/pci.h
include/linux/pci.h
+6
-0
No files found.
drivers/pci/bus.c
View file @
d22e25bf
...
...
@@ -135,5 +135,6 @@ void pci_enable_bridges(struct pci_bus *bus)
}
}
EXPORT_SYMBOL
(
pci_bus_alloc_resource
);
EXPORT_SYMBOL
(
pci_bus_add_devices
);
EXPORT_SYMBOL
(
pci_enable_bridges
);
include/linux/pci.h
View file @
d22e25bf
...
...
@@ -676,6 +676,12 @@ int pci_request_region(struct pci_dev *, int, char *);
void
pci_release_region
(
struct
pci_dev
*
,
int
);
/* drivers/pci/bus.c */
int
pci_bus_alloc_resource
(
struct
pci_bus
*
bus
,
struct
resource
*
res
,
unsigned
long
size
,
unsigned
long
align
,
unsigned
long
min
,
unsigned
int
type_mask
,
void
(
*
alignf
)(
void
*
,
struct
resource
*
,
unsigned
long
,
unsigned
long
),
void
*
alignf_data
);
void
pci_enable_bridges
(
struct
pci_bus
*
bus
);
/* New-style probing supporting hot-pluggable devices */
...
...
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