Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
xenomai
Commits
2f07eda4
Commit
2f07eda4
authored
Apr 19, 2018
by
Philippe Gerum
Browse files
drivers/gpio: mxc: look for imx7d devices
parent
a2262d5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
kernel/drivers/gpio/gpio-mxc.c
View file @
2f07eda4
...
...
@@ -20,10 +20,16 @@
#define RTDM_SUBCLASS_MXC 2
static
const
char
*
compat_array
[]
=
{
"fsl,imx6q-gpio"
,
"fsl,imx7d-gpio"
,
};
static
int
__init
mxc_gpio_init
(
void
)
{
return
rtdm_gpiochip_scan_of
(
NULL
,
"fsl,imx6q-gpio"
,
RTDM_SUBCLASS_MXC
);
return
rtdm_gpiochip_scan_array_of
(
NULL
,
compat_array
,
ARRAY_SIZE
(
compat_array
),
RTDM_SUBCLASS_MXC
);
}
module_init
(
mxc_gpio_init
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment