Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KED Linux Kernel Fork
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
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
KED Software Projects
Miscellaneous
KED Linux Kernel Fork
Commits
69113efa
Commit
69113efa
authored
19 years ago
by
Greg Kroah-Hartman
Browse files
Options
Downloads
Patches
Plain Diff
[PATCH] I2C: mark all functions static in atxp1 driver
Signed-off-by:
Greg Kroah-Hartman
<
gregkh@suse.de
>
parent
9cb7d184
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/i2c/chips/atxp1.c
+6
-6
6 additions, 6 deletions
drivers/i2c/chips/atxp1.c
with
6 additions
and
6 deletions
drivers/i2c/chips/atxp1.c
+
6
−
6
View file @
69113efa
...
...
@@ -99,7 +99,7 @@ static struct atxp1_data * atxp1_update_device(struct device *dev)
}
/* sys file functions for cpu0_vid */
ssize_t
atxp1_showvcore
(
struct
device
*
dev
,
char
*
buf
)
static
ssize_t
atxp1_showvcore
(
struct
device
*
dev
,
char
*
buf
)
{
int
size
;
struct
atxp1_data
*
data
;
...
...
@@ -111,7 +111,7 @@ ssize_t atxp1_showvcore(struct device *dev, char *buf)
return
size
;
}
ssize_t
atxp1_storevcore
(
struct
device
*
dev
,
const
char
*
buf
,
size_t
count
)
static
ssize_t
atxp1_storevcore
(
struct
device
*
dev
,
const
char
*
buf
,
size_t
count
)
{
struct
atxp1_data
*
data
;
struct
i2c_client
*
client
;
...
...
@@ -169,7 +169,7 @@ ssize_t atxp1_storevcore(struct device *dev, const char* buf, size_t count)
static
DEVICE_ATTR
(
cpu0_vid
,
S_IRUGO
|
S_IWUSR
,
atxp1_showvcore
,
atxp1_storevcore
);
/* sys file functions for GPIO1 */
ssize_t
atxp1_showgpio1
(
struct
device
*
dev
,
char
*
buf
)
static
ssize_t
atxp1_showgpio1
(
struct
device
*
dev
,
char
*
buf
)
{
int
size
;
struct
atxp1_data
*
data
;
...
...
@@ -181,7 +181,7 @@ ssize_t atxp1_showgpio1(struct device *dev, char *buf)
return
size
;
}
ssize_t
atxp1_storegpio1
(
struct
device
*
dev
,
const
char
*
buf
,
size_t
count
)
static
ssize_t
atxp1_storegpio1
(
struct
device
*
dev
,
const
char
*
buf
,
size_t
count
)
{
struct
atxp1_data
*
data
;
struct
i2c_client
*
client
;
...
...
@@ -211,7 +211,7 @@ ssize_t atxp1_storegpio1(struct device *dev, const char* buf, size_t count)
static
DEVICE_ATTR
(
gpio1
,
S_IRUGO
|
S_IWUSR
,
atxp1_showgpio1
,
atxp1_storegpio1
);
/* sys file functions for GPIO2 */
ssize_t
atxp1_showgpio2
(
struct
device
*
dev
,
char
*
buf
)
static
ssize_t
atxp1_showgpio2
(
struct
device
*
dev
,
char
*
buf
)
{
int
size
;
struct
atxp1_data
*
data
;
...
...
@@ -223,7 +223,7 @@ ssize_t atxp1_showgpio2(struct device *dev, char *buf)
return
size
;
}
ssize_t
atxp1_storegpio2
(
struct
device
*
dev
,
const
char
*
buf
,
size_t
count
)
static
ssize_t
atxp1_storegpio2
(
struct
device
*
dev
,
const
char
*
buf
,
size_t
count
)
{
struct
atxp1_data
*
data
;
struct
i2c_client
*
client
;
...
...
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