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
0f442f5a
Commit
0f442f5a
authored
Feb 20, 2011
by
Marc Kleine-Budde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ax88796: remove platform_device member from struct ax_device
Signed-off-by:
Marc Kleine-Budde
<
mkl@pengutronix.de
>
parent
85ac6162
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/net/ax88796.c
drivers/net/ax88796.c
+2
-4
No files found.
drivers/net/ax88796.c
View file @
0f442f5a
...
...
@@ -87,7 +87,6 @@ struct ax_device {
u32
msg_enable
;
void
__iomem
*
map2
;
struct
platform_device
*
dev
;
struct
resource
*
mem
;
struct
resource
*
mem2
;
struct
ax_plat_data
*
plat
;
...
...
@@ -545,11 +544,11 @@ static int ax_ioctl(struct net_device *dev, struct ifreq *req, int cmd)
static
void
ax_get_drvinfo
(
struct
net_device
*
dev
,
struct
ethtool_drvinfo
*
info
)
{
struct
ax_device
*
ax
=
to_ax_dev
(
dev
);
struct
platform_device
*
pdev
=
to_platform_device
(
dev
->
dev
.
parent
);
strcpy
(
info
->
driver
,
DRV_NAME
);
strcpy
(
info
->
version
,
DRV_VERSION
);
strcpy
(
info
->
bus_info
,
ax
->
dev
->
name
);
strcpy
(
info
->
bus_info
,
p
dev
->
name
);
}
static
int
ax_get_settings
(
struct
net_device
*
dev
,
struct
ethtool_cmd
*
cmd
)
...
...
@@ -848,7 +847,6 @@ static int ax_probe(struct platform_device *pdev)
spin_lock_init
(
&
ax
->
mii_lock
);
ax
->
dev
=
pdev
;
ax
->
plat
=
pdev
->
dev
.
platform_data
;
platform_set_drvdata
(
pdev
,
dev
);
...
...
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