Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319762
b: refs/heads/master
c: 66c9fbb
h: refs/heads/master
v: v3
  • Loading branch information
Sangbeom Kim authored and Samuel Ortiz committed Jul 16, 2012
1 parent d9bb0ca commit c0a34db
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1faedca9c7bfd3055204b9d10017ce77ad03fc72
refs/heads/master: 66c9fbb9895499ff3aede96845968138a5bec8ab
6 changes: 3 additions & 3 deletions trunk/drivers/mfd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -508,13 +508,13 @@ config MFD_MAX8998
additional drivers must be enabled in order to use the functionality
of the device.

config MFD_S5M_CORE
bool "SAMSUNG S5M Series Support"
config MFD_SEC_CORE
bool "SAMSUNG Electronics PMIC Series Support"
depends on I2C=y && GENERIC_HARDIRQS
select MFD_CORE
select REGMAP_I2C
help
Support for the Samsung Electronics S5M MFD series.
Support for the Samsung Electronics MFD series.
This driver provides common support for accessing the device,
additional drivers must be enabled in order to use the functionality
of the device
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mfd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ obj-$(CONFIG_MFD_AAT2870_CORE) += aat2870-core.o
obj-$(CONFIG_MFD_INTEL_MSIC) += intel_msic.o
obj-$(CONFIG_MFD_PALMAS) += palmas.o
obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o
obj-$(CONFIG_MFD_S5M_CORE) += s5m-core.o s5m-irq.o
obj-$(CONFIG_MFD_SEC_CORE) += sec-core.o sec-irq.o
obj-$(CONFIG_MFD_ANATOP) += anatop-mfd.o
obj-$(CONFIG_MFD_LM3533) += lm3533-core.o lm3533-ctrlbank.o
6 changes: 3 additions & 3 deletions trunk/drivers/mfd/s5m-core.c → trunk/drivers/mfd/sec-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#include <linux/pm_runtime.h>
#include <linux/mutex.h>
#include <linux/mfd/core.h>
#include <linux/mfd/s5m87xx/s5m-core.h>
#include <linux/mfd/s5m87xx/s5m-pmic.h>
#include <linux/mfd/s5m87xx/s5m-rtc.h>
#include <linux/mfd/samsung/s5m-core.h>
#include <linux/mfd/samsung/s5m-pmic.h>
#include <linux/mfd/samsung/s5m-rtc.h>
#include <linux/regmap.h>

static struct mfd_cell s5m8751_devs[] = {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/mfd/s5m-irq.c → trunk/drivers/mfd/sec-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/mfd/s5m87xx/s5m-core.h>
#include <linux/mfd/samsung/s5m-core.h>

struct s5m_irq_data {
int reg;
Expand Down Expand Up @@ -333,7 +333,7 @@ static irqreturn_t s5m8763_irq_thread(int irq, void *data)

int s5m_irq_resume(struct s5m87xx_dev *s5m87xx)
{
if (s5m87xx->irq && s5m87xx->irq_base){
if (s5m87xx->irq && s5m87xx->irq_base) {
switch (s5m87xx->device_type) {
case S5M8763X:
s5m8763_irq_thread(s5m87xx->irq_base, s5m87xx);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ config REGULATOR_RC5T583

config REGULATOR_S5M8767
tristate "Samsung S5M8767A voltage regulator"
depends on MFD_S5M_CORE
depends on MFD_SEC_CORE
help
This driver supports a Samsung S5M8767A voltage output regulator
via I2C bus. S5M8767A have 9 Bucks and 28 LDOs output and
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/regulator/s5m8767.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/mfd/s5m87xx/s5m-core.h>
#include <linux/mfd/s5m87xx/s5m-pmic.h>
#include <linux/mfd/samsung/s5m-core.h>
#include <linux/mfd/samsung/s5m-pmic.h>

struct s5m8767_info {
struct device *dev;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ struct s5m_platform_data {
int num_regulators;

int irq_base;
int (*cfg_pmic_irq)(void);
int (*cfg_pmic_irq)(void);

int ono;
bool wakeup;
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c0a34db

Please sign in to comment.