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>
This commit is contained in:

committed by
Samuel Ortiz

parent
ceb57d27e2
commit
35bdd29095
12
arch/x86/include/asm/sta2x11.h
Normal file
12
arch/x86/include/asm/sta2x11.h
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Header file for STMicroelectronics ConneXt (STA2X11) IOHub
|
||||
*/
|
||||
#ifndef __ASM_STA2X11_H
|
||||
#define __ASM_STA2X11_H
|
||||
|
||||
#include <linux/pci.h>
|
||||
|
||||
/* This needs to be called from the MFD to configure its sub-devices */
|
||||
struct sta2x11_instance *sta2x11_get_instance(struct pci_dev *pdev);
|
||||
|
||||
#endif /* __ASM_STA2X11_H */
|
Reference in New Issue
Block a user