diff options
author | Alessandro Rubini <rubini@gnudd.com> | 2012-04-12 04:48:44 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-09 09:34:28 -0400 |
commit | 35bdd29095ad614c5fb4a934bfd4f57a94dfd395 (patch) | |
tree | 26db4b35f5f05d4a160235aa02ba5cb579c5f2f9 /arch | |
parent | ceb57d27e28a8f979cbfd6391b7da6da51484059 (diff) |
mfd: Add driver for STA2X11 MFD block
This also introduces <asm/sta2x11.h> to export a function that is in
the base sta2x11 support patches. The header will increase with other
prototypes and constants over time.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/sta2x11.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/include/asm/sta2x11.h b/arch/x86/include/asm/sta2x11.h new file mode 100644 index 000000000000..e9d32df89ccc --- /dev/null +++ b/arch/x86/include/asm/sta2x11.h | |||
@@ -0,0 +1,12 @@ | |||
1 | /* | ||
2 | * Header file for STMicroelectronics ConneXt (STA2X11) IOHub | ||
3 | */ | ||
4 | #ifndef __ASM_STA2X11_H | ||
5 | #define __ASM_STA2X11_H | ||
6 | |||
7 | #include <linux/pci.h> | ||
8 | |||
9 | /* This needs to be called from the MFD to configure its sub-devices */ | ||
10 | struct sta2x11_instance *sta2x11_get_instance(struct pci_dev *pdev); | ||
11 | |||
12 | #endif /* __ASM_STA2X11_H */ | ||