Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xcap-capability-linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xcap
xcap-capability-linux
Commits
0f442f5a
Commit
0f442f5a
authored
14 years ago
by
Marc Kleine-Budde
Browse files
Options
Downloads
Patches
Plain Diff
ax88796: remove platform_device member from struct ax_device
Signed-off-by:
Marc Kleine-Budde
<
mkl@pengutronix.de
>
parent
85ac6162
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/net/ax88796.c
+2
-4
2 additions, 4 deletions
drivers/net/ax88796.c
with
2 additions
and
4 deletions
drivers/net/ax88796.c
+
2
−
4
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
_dev
ice
(
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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment