Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC Bus
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC Bus
Commits
3711418f
Commit
3711418f
authored
Jul 17, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: comment some still-unused variables
This commit was "kernel: more work on spec.ko" in spec-sw
parent
e5db02d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fmc-core.c
kernel/fmc-core.c
+4
-4
No files found.
kernel/fmc-core.c
View file @
3711418f
...
...
@@ -16,9 +16,9 @@
static
int
fmc_match
(
struct
device
*
dev
,
struct
device_driver
*
drv
)
{
struct
fmc_driver
*
fdrv
=
to_fmc_driver
(
drv
);
struct
fmc_device
*
fdev
=
to_fmc_device
(
dev
);
const
struct
fmc_device_id
*
t
=
fdrv
->
id_table
;
//
struct fmc_driver *fdrv = to_fmc_driver(drv);
//
struct fmc_device *fdev = to_fmc_device(dev);
//
const struct fmc_device_id *t = fdrv->id_table;
/* Currently, return 1 every time, until we define policies */
return
1
;
...
...
@@ -26,7 +26,7 @@ static int fmc_match(struct device *dev, struct device_driver *drv)
static
int
fmc_uevent
(
struct
device
*
dev
,
struct
kobj_uevent_env
*
env
)
{
struct
fmc_device
*
fdev
=
to_fmc_device
(
dev
);
//
struct fmc_device *fdev = to_fmc_device(dev);
/* FIXME: The MODALIAS */
add_uevent_var
(
env
,
"MODALIAS=%s"
,
"fmc"
);
...
...
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