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
09a736b8
Commit
09a736b8
authored
Aug 14, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove usage of struct device.name from ide core
parent
e6d65601
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
drivers/ide/ide-probe.c
drivers/ide/ide-probe.c
+0
-3
No files found.
drivers/ide/ide-probe.c
View file @
09a736b8
...
...
@@ -648,7 +648,6 @@ static void hwif_register (ide_hwif_t *hwif)
{
/* register with global device tree */
strlcpy
(
hwif
->
gendev
.
bus_id
,
hwif
->
name
,
BUS_ID_SIZE
);
snprintf
(
hwif
->
gendev
.
name
,
DEVICE_NAME_SIZE
,
"IDE Controller"
);
hwif
->
gendev
.
driver_data
=
hwif
;
if
(
hwif
->
pci_dev
)
hwif
->
gendev
.
parent
=
&
hwif
->
pci_dev
->
dev
;
...
...
@@ -1217,8 +1216,6 @@ static void init_gendisk (ide_hwif_t *hwif)
ide_add_generic_settings
(
drive
);
snprintf
(
drive
->
gendev
.
bus_id
,
BUS_ID_SIZE
,
"%u.%u"
,
hwif
->
index
,
unit
);
snprintf
(
drive
->
gendev
.
name
,
DEVICE_NAME_SIZE
,
"%s"
,
"IDE Drive"
);
drive
->
gendev
.
parent
=
&
hwif
->
gendev
;
drive
->
gendev
.
bus
=
&
ide_bus_type
;
drive
->
gendev
.
driver_data
=
drive
;
...
...
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