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
62b1ea27
Commit
62b1ea27
authored
Jun 27, 2003
by
Christoph Hellwig
Committed by
James Bottomley
Jun 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix an aha1740 merge error
it should use scsi_host_alloc/scsi_host_put now.
parent
70426f72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/scsi/aha1740.c
drivers/scsi/aha1740.c
+2
-2
No files found.
drivers/scsi/aha1740.c
View file @
62b1ea27
...
@@ -606,7 +606,7 @@ static int aha1740_probe (struct device *dev)
...
@@ -606,7 +606,7 @@ static int aha1740_probe (struct device *dev)
dev
->
name
,
slotbase
,
irq_level
);
dev
->
name
,
slotbase
,
irq_level
);
printk
(
KERN_INFO
"aha174x: Extended translation %sabled.
\n
"
,
printk
(
KERN_INFO
"aha174x: Extended translation %sabled.
\n
"
,
translation
?
"en"
:
"dis"
);
translation
?
"en"
:
"dis"
);
shpnt
=
scsi_
register
(
&
aha1740_template
,
shpnt
=
scsi_
host_alloc
(
&
aha1740_template
,
sizeof
(
struct
aha1740_hostdata
));
sizeof
(
struct
aha1740_hostdata
));
if
(
shpnt
==
NULL
)
if
(
shpnt
==
NULL
)
goto
err_release
;
goto
err_release
;
...
@@ -658,7 +658,7 @@ static __devexit int aha1740_remove (struct device *dev)
...
@@ -658,7 +658,7 @@ static __devexit int aha1740_remove (struct device *dev)
sizeof
(
host
->
ecb
),
DMA_BIDIRECTIONAL
);
sizeof
(
host
->
ecb
),
DMA_BIDIRECTIONAL
);
release_region
(
shpnt
->
io_port
,
SLOTSIZE
);
release_region
(
shpnt
->
io_port
,
SLOTSIZE
);
scsi_
unregister
(
shpnt
);
scsi_
host_put
(
shpnt
);
return
0
;
return
0
;
}
}
...
...
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