2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/include/linux/mfd
Tushar Behera 3d23799093 mfd: syscon: Include linux/err.h to fix build error
commit df73de9b0d ("mfd: syscon: Return -ENOSYS if CONFIG_MFD_SYSCON
is not enabled") introduced fallbacks for APIs, but missed out on adding
the header file. This would work only if linux/err.h is also included
in the source code from where this file is included. It would be better
to include linux/err.h in file to remove possible build errors.

Without this patch, we get following and similar build errors if this
header file is included in some source file and CONFIG_MFD_SYSCON is
not enabled.

include/linux/mfd/syscon.h: In function ‘syscon_node_to_regmap’:
include/linux/mfd/syscon.h:30:2: error: implicit declaration of function ‘ERR_PTR’ [-Werror=implicit-function-declaration]
  return ERR_PTR(-ENOSYS);
  ^
include/linux/mfd/syscon.h:30:18: error: ‘ENOSYS’ undeclared (first use in this function)
  return ERR_PTR(-ENOSYS);
                  ^
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-06-03 08:11:41 +01:00
..
abx500 mfd: dbx500/abx500: root out hardcoded IRQ assignments 2014-03-04 08:58:11 +08:00
arizona mfd: arizona: Factor out read of device tree GPIOs 2014-04-18 18:34:20 +01:00
da9052 mfd: da9052: Extend support to a new chip 2014-03-19 08:58:26 +00:00
da9055
da9063 mfd: da9063: Upgrade of register definitions to support production silicon 2014-03-19 08:58:41 +00:00
pcf50633
samsung mfd: sec-core: Remove duplicated device type from sec_pmic_dev 2014-06-03 08:11:21 +01:00
syscon ARM: imx6q: Add GPR6 and GPR7 register definitions for iomuxc gpr 2014-03-05 10:40:47 +08:00
wm831x
wm8350
wm8994 mfd: wm8994: Remove unused irq_lock 2013-10-23 16:20:41 +01:00
88pm80x.h mfd: 88pm800: Add regulator sub device 2013-06-18 09:41:12 +02:00
88pm860x.h
aat2870.h
ab3100.h
abx500.h mfd: abx500-core: Fix compiler warning larger stack frame 2014-06-03 08:11:11 +01:00
adp5520.h
as3711.h
as3722.h regulator: Updates for v3.14 2014-01-25 13:19:10 -08:00
asic3.h
axp20x.h mfd: AXP20x: Add mfd driver for AXP20x PMIC 2014-06-03 08:11:25 +01:00
bcm590xx.h mfd: Add bcm590xx pmu driver 2014-03-19 08:59:59 +00:00
core.h For the 3.13 merge window we have a couple of new drivers for the AMS 2013-11-15 16:37:40 -08:00
cros_ec_commands.h
cros_ec.h
da903x.h
davinci_voicecodec.h mfd: davinci_voicecodec: Provide a regmap for register I/O 2013-09-02 10:27:49 +02:00
db8500-prcmu.h
dbx500-prcmu.h mfd: dbx500/abx500: root out hardcoded IRQ assignments 2014-03-04 08:58:11 +08:00
ds1wm.h
ezx-pcap.h
htc-egpio.h
htc-pasic3.h
intel_msic.h
janz.h
kempld.h mfd: Add sysfs attributes for Kontron PLD firmware revision 2014-06-03 08:11:11 +01:00
lm3533.h
lp3943.h mfd: Add LP3943 MFD driver 2014-01-21 08:27:59 +00:00
lp8788-isink.h
lp8788.h
lpc_ich.h mfd: lpc_ich: Add support for iTCO v3 2014-03-19 09:00:02 +00:00
max8907.h
max8925.h
max8997-private.h mfd: max8997: Naturalise cross-architecture discrepancies 2014-02-19 13:30:23 +00:00
max8997.h
max8998-private.h mfd: max8998: Naturalise cross-architecture discrepancies 2014-02-19 13:30:25 +00:00
max8998.h mfd: max8998: Add support for Device Tree 2013-06-30 23:30:04 +02:00
max14577-private.h regulator: max14577: Add support for MAX77836 regulators 2014-04-23 14:09:45 +01:00
max14577.h regulator: max14577: Add support for MAX77836 regulators 2014-04-23 14:09:45 +01:00
max77686-private.h mfd: Represent correct filenames in file headers 2014-01-21 08:28:12 +00:00
max77686.h
max77693-private.h mfd: max77693: Remove device wakeup from driver 2013-10-23 16:21:26 +01:00
max77693.h mfd: max77693: Remove device wakeup from driver 2013-10-23 16:21:26 +01:00
mc13xxx.h mfd: mc13xxx: Move definitions out of structures 2014-06-03 08:11:12 +01:00
mc13783.h
mc13892.h
mcp.h mfd: mcp: Add missing linux/device.h header 2013-07-31 02:04:47 +02:00
menelaus.h
palmas.h For the 3.12 merge window we have one new driver for the DA9063 PMIC 2013-09-07 20:14:19 -07:00
rc5t583.h
rdc321x.h mfd: rdc321x: Fix off-by-one for ngpio setting 2014-06-03 08:11:17 +01:00
retu.h
rtsx_common.h mmc: rtsx: Revert "mmc: rtsx: add support for pre_req and post_req" 2014-05-08 08:44:50 +01:00
rtsx_pci.h mmc: rtsx: Revert "mmc: rtsx: add support for pre_req and post_req" 2014-05-08 08:44:50 +01:00
rtsx_usb.h mfd: Add realtek USB card reader driver 2014-03-19 08:58:18 +00:00
si476x-core.h treewide: Fix common typo in "identify" 2013-10-14 15:31:06 +02:00
si476x-platform.h
si476x-reports.h
smsc.h
sta2x11-mfd.h
stmpe.h mfd: stmpe: root out static GPIO and IRQ assignments 2014-05-23 09:41:01 +01:00
stw481x.h mfd: Add STw481x driver 2013-10-23 16:21:12 +01:00
syscon.h mfd: syscon: Include linux/err.h to fix build error 2014-06-03 08:11:41 +01:00
t7l66xb.h
tc3589x.h
tc6387xb.h
tc6393xb.h
ti_am335x_tscadc.h mfd: input: iio: ti_amm335x: Rework TSC/ADC synchronization 2014-01-07 08:45:00 +00:00
ti_ssp.h
tmio.h mmc: tmio: add new TMIO_MMC_HAVE_HIGH_REG flags 2014-01-13 12:48:24 -05:00
tps6105x.h
tps6507x.h Input: tps6507x-ts - convert to polled input device infrastructure 2013-07-01 11:38:41 -07:00
tps6586x.h regulator: tps6586x: Add support for the TPS658640 2014-05-26 16:48:02 +01:00
tps65090.h mfd: tps65090: Stop caching most registers 2014-04-23 12:32:19 +01:00
tps65217.h mfd: tps65217: Naturalise cross-architecture discrepancies 2014-02-19 13:30:30 +00:00
tps65218.h mfd: tps65218: Remove unused *rdev[] from struct tps65218 2014-06-03 08:11:13 +01:00
tps65910.h regulator: tps65910: Simplify setting enable_mask for regulators 2013-12-30 11:48:43 +00:00
tps65912.h
tps80031.h
twl4030-audio.h
twl6040.h mfd: twl6040: Optional clk32k clock handling 2014-06-03 08:11:20 +01:00
ucb1x00.h mfd: ucb1x00: Explicitely include linux/device.h 2013-07-31 02:04:52 +02:00
viperboard.h
wl1273-core.h
wm8400-audio.h
wm8400-private.h
wm8400.h