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
8c654bb8
Commit
8c654bb8
authored
Oct 25, 2010
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pnp-log' into release
parents
b10b977b
c1f3f281
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
drivers/pnp/core.c
drivers/pnp/core.c
+3
-2
drivers/pnp/resource.c
drivers/pnp/resource.c
+5
-5
No files found.
drivers/pnp/core.c
View file @
8c654bb8
...
...
@@ -195,8 +195,9 @@ int pnp_add_device(struct pnp_dev *dev)
for
(
id
=
dev
->
id
;
id
;
id
=
id
->
next
)
len
+=
scnprintf
(
buf
+
len
,
sizeof
(
buf
)
-
len
,
" %s"
,
id
->
id
);
pnp_dbg
(
&
dev
->
dev
,
"%s device, IDs%s (%s)
\n
"
,
dev
->
protocol
->
name
,
buf
,
dev
->
active
?
"active"
:
"disabled"
);
dev_printk
(
KERN_DEBUG
,
&
dev
->
dev
,
"%s device, IDs%s (%s)
\n
"
,
dev
->
protocol
->
name
,
buf
,
dev
->
active
?
"active"
:
"disabled"
);
return
0
;
}
...
...
drivers/pnp/resource.c
View file @
8c654bb8
...
...
@@ -523,7 +523,7 @@ struct pnp_resource *pnp_add_irq_resource(struct pnp_dev *dev, int irq,
res
->
start
=
irq
;
res
->
end
=
irq
;
pnp_dbg
(
&
dev
->
dev
,
" add %pr
\n
"
,
res
);
dev_printk
(
KERN_DEBUG
,
&
dev
->
dev
,
"%pR
\n
"
,
res
);
return
pnp_res
;
}
...
...
@@ -544,7 +544,7 @@ struct pnp_resource *pnp_add_dma_resource(struct pnp_dev *dev, int dma,
res
->
start
=
dma
;
res
->
end
=
dma
;
pnp_dbg
(
&
dev
->
dev
,
" add %pr
\n
"
,
res
);
dev_printk
(
KERN_DEBUG
,
&
dev
->
dev
,
"%pR
\n
"
,
res
);
return
pnp_res
;
}
...
...
@@ -568,7 +568,7 @@ struct pnp_resource *pnp_add_io_resource(struct pnp_dev *dev,
res
->
start
=
start
;
res
->
end
=
end
;
pnp_dbg
(
&
dev
->
dev
,
" add %pr
\n
"
,
res
);
dev_printk
(
KERN_DEBUG
,
&
dev
->
dev
,
"%pR
\n
"
,
res
);
return
pnp_res
;
}
...
...
@@ -592,7 +592,7 @@ struct pnp_resource *pnp_add_mem_resource(struct pnp_dev *dev,
res
->
start
=
start
;
res
->
end
=
end
;
pnp_dbg
(
&
dev
->
dev
,
" add %pr
\n
"
,
res
);
dev_printk
(
KERN_DEBUG
,
&
dev
->
dev
,
"%pR
\n
"
,
res
);
return
pnp_res
;
}
...
...
@@ -616,7 +616,7 @@ struct pnp_resource *pnp_add_bus_resource(struct pnp_dev *dev,
res
->
start
=
start
;
res
->
end
=
end
;
pnp_dbg
(
&
dev
->
dev
,
" add %pr
\n
"
,
res
);
dev_printk
(
KERN_DEBUG
,
&
dev
->
dev
,
"%pR
\n
"
,
res
);
return
pnp_res
;
}
...
...
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