git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: imx: prepare for removal of flexcan_platform_data
[pandora-kernel.git]
/
arch
/
arm
/
mach-imx
/
devices
/
platform-flexcan.c
diff --git
a/arch/arm/mach-imx/devices/platform-flexcan.c
b/arch/arm/mach-imx/devices/platform-flexcan.c
index
1078bf0
..
55d61ea
100644
(file)
--- a/
arch/arm/mach-imx/devices/platform-flexcan.c
+++ b/
arch/arm/mach-imx/devices/platform-flexcan.c
@@
-38,8
+38,7
@@
const struct imx_flexcan_data imx35_flexcan_data[] __initconst = {
#endif /* ifdef CONFIG_SOC_IMX35 */
struct platform_device *__init imx_add_flexcan(
#endif /* ifdef CONFIG_SOC_IMX35 */
struct platform_device *__init imx_add_flexcan(
- const struct imx_flexcan_data *data,
- const struct flexcan_platform_data *pdata)
+ const struct imx_flexcan_data *data)
{
struct resource res[] = {
{
{
struct resource res[] = {
{
@@
-54,5
+53,5
@@
struct platform_device *__init imx_add_flexcan(
};
return imx_add_platform_device("flexcan", data->id,
};
return imx_add_platform_device("flexcan", data->id,
- res, ARRAY_SIZE(res),
pdata, sizeof(*pdata)
);
+ res, ARRAY_SIZE(res),
NULL, 0
);
}
}