diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
| commit | 53279f36dccffc26ff536003fd6bb97cc21c3b82 (patch) | |
| tree | 9d16e497c0e4158c7c054c479bd0e9ff0388d7bb /include/linux/mfd/syscon.h | |
| parent | a6e8c0a25377e27958b11b20e1927885ae7c9857 (diff) | |
| parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) | |
Merge tag 'v3.7-rc3' into next to sync up with recent USB and MFD changes
Diffstat (limited to 'include/linux/mfd/syscon.h')
| -rw-r--r-- | include/linux/mfd/syscon.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/mfd/syscon.h b/include/linux/mfd/syscon.h new file mode 100644 index 000000000000..6aeb6b8da64d --- /dev/null +++ b/include/linux/mfd/syscon.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* | ||
| 2 | * System Control Driver | ||
| 3 | * | ||
| 4 | * Copyright (C) 2012 Freescale Semiconductor, Inc. | ||
| 5 | * Copyright (C) 2012 Linaro Ltd. | ||
| 6 | * | ||
| 7 | * Author: Dong Aisheng <dong.aisheng@linaro.org> | ||
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License as published by | ||
| 11 | * the Free Software Foundation; either version 2 of the License, or | ||
| 12 | * (at your option) any later version. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #ifndef __LINUX_MFD_SYSCON_H__ | ||
| 16 | #define __LINUX_MFD_SYSCON_H__ | ||
| 17 | |||
| 18 | extern struct regmap *syscon_node_to_regmap(struct device_node *np); | ||
| 19 | extern struct regmap *syscon_regmap_lookup_by_compatible(const char *s); | ||
| 20 | extern struct regmap *syscon_regmap_lookup_by_phandle( | ||
| 21 | struct device_node *np, | ||
| 22 | const char *property); | ||
| 23 | #endif /* __LINUX_MFD_SYSCON_H__ */ | ||
