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
73e567ed
Commit
73e567ed
authored
Mar 12, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make pdev_set_mwi static, at the request of David Miller.
parent
d9f2d50e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
drivers/pci/pci.c
drivers/pci/pci.c
+3
-4
include/linux/pci.h
include/linux/pci.h
+0
-1
No files found.
drivers/pci/pci.c
View file @
73e567ed
...
...
@@ -850,16 +850,16 @@ pci_set_master(struct pci_dev *dev)
}
/**
* pdev_set_mwi -
arch helper function for pcibios
_set_mwi
* pdev_set_mwi -
helper function for pci
_set_mwi
* @dev: the PCI device for which MWI is enabled
*
* Helper function for
implementation the arch-specific pcibios
_set_mwi
* Helper function for
generic implementation of pci
_set_mwi
* function. Originally copied from drivers/net/acenic.c.
* Copyright 1998-2001 by Jes Sorensen, <jes@trained-monkey.org>.
*
* RETURNS: An appriopriate -ERRNO error value on eror, or zero for success.
*/
int
static
int
pdev_set_mwi
(
struct
pci_dev
*
dev
)
{
int
rc
=
0
;
...
...
@@ -2099,7 +2099,6 @@ EXPORT_SYMBOL(pci_find_subsys);
EXPORT_SYMBOL
(
pci_set_master
);
EXPORT_SYMBOL
(
pci_set_mwi
);
EXPORT_SYMBOL
(
pci_clear_mwi
);
EXPORT_SYMBOL
(
pdev_set_mwi
);
EXPORT_SYMBOL
(
pci_set_dma_mask
);
EXPORT_SYMBOL
(
pci_dac_set_dma_mask
);
EXPORT_SYMBOL
(
pci_assign_resource
);
...
...
include/linux/pci.h
View file @
73e567ed
...
...
@@ -567,7 +567,6 @@ void pci_set_master(struct pci_dev *dev);
#define HAVE_PCI_SET_MWI
int
pci_set_mwi
(
struct
pci_dev
*
dev
);
void
pci_clear_mwi
(
struct
pci_dev
*
dev
);
int
pdev_set_mwi
(
struct
pci_dev
*
dev
);
int
pci_set_dma_mask
(
struct
pci_dev
*
dev
,
u64
mask
);
int
pci_dac_set_dma_mask
(
struct
pci_dev
*
dev
,
u64
mask
);
int
pci_assign_resource
(
struct
pci_dev
*
dev
,
int
i
);
...
...
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