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
nexedi
linux
Commits
cf649e00
Commit
cf649e00
authored
Jun 15, 2015
by
Lee Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfd: cros_ec: Staticise some newly introduced structures
Signed-off-by:
Lee Jones
<
lee.jones@linaro.org
>
parent
ff4378f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/mfd/cros_ec.c
drivers/mfd/cros_ec.c
+4
-4
No files found.
drivers/mfd/cros_ec.c
View file @
cf649e00
...
...
@@ -27,23 +27,23 @@
#define CROS_EC_DEV_EC_INDEX 0
#define CROS_EC_DEV_PD_INDEX 1
struct
cros_ec_platform
ec_p
=
{
st
atic
st
ruct
cros_ec_platform
ec_p
=
{
.
ec_name
=
CROS_EC_DEV_NAME
,
.
cmd_offset
=
EC_CMD_PASSTHRU_OFFSET
(
CROS_EC_DEV_EC_INDEX
),
};
struct
cros_ec_platform
pd_p
=
{
st
atic
st
ruct
cros_ec_platform
pd_p
=
{
.
ec_name
=
CROS_EC_DEV_PD_NAME
,
.
cmd_offset
=
EC_CMD_PASSTHRU_OFFSET
(
CROS_EC_DEV_PD_INDEX
),
};
struct
mfd_cell
ec_cell
=
{
st
atic
const
st
ruct
mfd_cell
ec_cell
=
{
.
name
=
"cros-ec-ctl"
,
.
platform_data
=
&
ec_p
,
.
pdata_size
=
sizeof
(
ec_p
),
};
struct
mfd_cell
ec_pd_cell
=
{
st
atic
const
st
ruct
mfd_cell
ec_pd_cell
=
{
.
name
=
"cros-ec-ctl"
,
.
platform_data
=
&
pd_p
,
.
pdata_size
=
sizeof
(
pd_p
),
...
...
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