aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/platform/olpc/olpc-xo1.c4
-rw-r--r--drivers/mfd/mfd-core.c8
-rw-r--r--include/linux/mfd/core.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/arch/x86/platform/olpc/olpc-xo1.c b/arch/x86/platform/olpc/olpc-xo1.c
index f4155354a7b..99513642a0e 100644
--- a/arch/x86/platform/olpc/olpc-xo1.c
+++ b/arch/x86/platform/olpc/olpc-xo1.c
@@ -63,7 +63,7 @@ static int __devinit olpc_xo1_probe(struct platform_device *pdev)
63 if (!machine_is_olpc()) 63 if (!machine_is_olpc())
64 return -ENODEV; 64 return -ENODEV;
65 65
66 err = mfd_shared_cell_enable(pdev); 66 err = mfd_cell_enable(pdev);
67 if (err) 67 if (err)
68 return err; 68 return err;
69 69
@@ -88,7 +88,7 @@ static int __devinit olpc_xo1_probe(struct platform_device *pdev)
88 88
89static int __devexit olpc_xo1_remove(struct platform_device *pdev) 89static int __devexit olpc_xo1_remove(struct platform_device *pdev)
90{ 90{
91 mfd_shared_cell_disable(pdev); 91 mfd_cell_disable(pdev);
92 92
93 if (strcmp(pdev->name, "olpc-xo1-pms") == 0) 93 if (strcmp(pdev->name, "olpc-xo1-pms") == 0)
94 pms_base = 0; 94 pms_base = 0;
diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c
index bb2264cc410..79eda0264fb 100644
--- a/drivers/mfd/mfd-core.c
+++ b/drivers/mfd/mfd-core.c
@@ -18,7 +18,7 @@
18#include <linux/pm_runtime.h> 18#include <linux/pm_runtime.h>
19#include <linux/slab.h> 19#include <linux/slab.h>
20 20
21int mfd_shared_cell_enable(struct platform_device *pdev) 21int mfd_cell_enable(struct platform_device *pdev)
22{ 22{
23 const struct mfd_cell *cell = mfd_get_cell(pdev); 23 const struct mfd_cell *cell = mfd_get_cell(pdev);
24 int err = 0; 24 int err = 0;
@@ -33,9 +33,9 @@ int mfd_shared_cell_enable(struct platform_device *pdev)
33 33
34 return err; 34 return err;
35} 35}
36EXPORT_SYMBOL(mfd_shared_cell_enable); 36EXPORT_SYMBOL(mfd_cell_enable);
37 37
38int mfd_shared_cell_disable(struct platform_device *pdev) 38int mfd_cell_disable(struct platform_device *pdev)
39{ 39{
40 const struct mfd_cell *cell = mfd_get_cell(pdev); 40 const struct mfd_cell *cell = mfd_get_cell(pdev);
41 int err = 0; 41 int err = 0;
@@ -53,7 +53,7 @@ int mfd_shared_cell_disable(struct platform_device *pdev)
53 53
54 return err; 54 return err;
55} 55}
56EXPORT_SYMBOL(mfd_shared_cell_disable); 56EXPORT_SYMBOL(mfd_cell_disable);
57 57
58static int mfd_add_device(struct device *parent, int id, 58static int mfd_add_device(struct device *parent, int id,
59 const struct mfd_cell *cell, 59 const struct mfd_cell *cell,
diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h
index ed9970412cc..1408bf8eed5 100644
--- a/include/linux/mfd/core.h
+++ b/include/linux/mfd/core.h
@@ -59,8 +59,8 @@ struct mfd_cell {
59 * being called only when a device is first being enabled or no other 59 * being called only when a device is first being enabled or no other
60 * clients are making use of it. 60 * clients are making use of it.
61 */ 61 */
62extern int mfd_shared_cell_enable(struct platform_device *pdev); 62extern int mfd_cell_enable(struct platform_device *pdev);
63extern int mfd_shared_cell_disable(struct platform_device *pdev); 63extern int mfd_cell_disable(struct platform_device *pdev);
64 64
65/* 65/*
66 * Given a platform device that's been created by mfd_add_devices(), fetch 66 * Given a platform device that's been created by mfd_add_devices(), fetch