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
5cbe5f8a
Commit
5cbe5f8a
authored
Aug 10, 2006
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
device_create(): make fmt argument 'const char *'
Signed-off-by:
Greg Kroah-Hartman
<
gregkh@suse.de
>
parent
ddd5d35a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/base/core.c
drivers/base/core.c
+1
-1
include/linux/device.h
include/linux/device.h
+1
-1
No files found.
drivers/base/core.c
View file @
5cbe5f8a
...
...
@@ -583,7 +583,7 @@ static void device_create_release(struct device *dev)
* been created with a call to class_create().
*/
struct
device
*
device_create
(
struct
class
*
class
,
struct
device
*
parent
,
dev_t
devt
,
char
*
fmt
,
...)
dev_t
devt
,
c
onst
c
har
*
fmt
,
...)
{
va_list
args
;
struct
device
*
dev
=
NULL
;
...
...
include/linux/device.h
View file @
5cbe5f8a
...
...
@@ -384,7 +384,7 @@ extern void device_reprobe(struct device *dev);
* Easy functions for dynamically creating devices on the fly
*/
extern
struct
device
*
device_create
(
struct
class
*
cls
,
struct
device
*
parent
,
dev_t
devt
,
char
*
fmt
,
...)
dev_t
devt
,
c
onst
c
har
*
fmt
,
...)
__attribute__
((
format
(
printf
,
4
,
5
)));
extern
void
device_destroy
(
struct
class
*
cls
,
dev_t
devt
);
...
...
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