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
8d51a3cc
Commit
8d51a3cc
authored
May 27, 2013
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport: add hacks for const correctness
parent
01ce0bb2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fmc-sdb.c
kernel/fmc-sdb.c
+1
-1
for-2.6.24.h
kernel/for-2.6.24.h
+1
-1
No files found.
kernel/fmc-sdb.c
View file @
8d51a3cc
...
...
@@ -166,7 +166,7 @@ static void __fmc_show_sdb_tree(const struct fmc_device *fmc,
base
=
0
;
for
(
ap
=
arr
;
ap
;
ap
=
ap
->
parent
)
base
+=
ap
->
baseaddr
;
dev_info
(
&
fmc
->
dev
,
"SDB: "
);
dev_info
(
(
struct
device
*
)
&
fmc
->
dev
,
"SDB: "
);
for
(
j
=
0
;
j
<
level
;
j
++
)
printk
(
" "
);
...
...
kernel/for-2.6.24.h
View file @
8d51a3cc
...
...
@@ -12,7 +12,7 @@ static inline struct delayed_work *to_delayed_work(struct work_struct *work)
/* dev_name() appeared in v2.6.26-rc1 */
/* dev_set_name() appeared in v2.6.26-rc6 */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
static
inline
const
char
*
dev_name
(
struct
device
*
dev
)
static
inline
const
char
*
dev_name
(
const
struct
device
*
dev
)
{
return
kobject_name
(
&
dev
->
kobj
);
}
...
...
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