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
ff409803
Commit
ff409803
authored
Feb 21, 2003
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ISDN/AVMB1: Fix compile w/o CONFIG_ISDN_DRV_AVMB1_B1PCIV4
parent
6ce2fbc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
drivers/isdn/hardware/avm/b1pci.c
drivers/isdn/hardware/avm/b1pci.c
+4
-0
No files found.
drivers/isdn/hardware/avm/b1pci.c
View file @
ff409803
...
@@ -343,12 +343,16 @@ static int __devinit b1pci_pci_probe(struct pci_dev *pdev,
...
@@ -343,12 +343,16 @@ static int __devinit b1pci_pci_probe(struct pci_dev *pdev,
static
void
__devexit
b1pci_pci_remove
(
struct
pci_dev
*
pdev
)
static
void
__devexit
b1pci_pci_remove
(
struct
pci_dev
*
pdev
)
{
{
#ifdef CONFIG_ISDN_DRV_AVMB1_B1PCIV4
avmcard
*
card
=
pci_get_drvdata
(
pdev
);
avmcard
*
card
=
pci_get_drvdata
(
pdev
);
if
(
card
->
dma
)
if
(
card
->
dma
)
b1pciv4_remove
(
pdev
);
b1pciv4_remove
(
pdev
);
else
else
b1pci_remove
(
pdev
);
b1pci_remove
(
pdev
);
#else
b1pci_remove
(
pdev
);
#endif
}
}
static
struct
pci_driver
b1pci_pci_driver
=
{
static
struct
pci_driver
b1pci_pci_driver
=
{
...
...
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