No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
kumarv ca6f40eab7 Power: fix implicit bld errs of wakeup_source API's
fix implicit bld errs of wakeup_source API's in Android R

On latest kernel rebase from QC:

we see couple of wakeup_source API's are removed,

errors as below:

motorola/kernel/modules/drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c:4120:2: error: implicit declaration of function 'wakeup_source_init' [-Werror,-Wimplicit-function-declaration]
motorola/kernel/modules/drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c:4443:2: error: implicit declaration of function 'wakeup_source_trash' [-Werror,-Wimplicit-function-declaration]

motorola/kernel/modules/drivers/power/p938x_charger/p938x_charger.c:2945:2: error: implicit declaration of function 'wakeup_source_init' [-Werror,-Wimplicit-function-declaration]
        wakeup_source_init(&chip->wls_wake_source, "p938x wireless charger");
motorola/kernel/modules/drivers/power/p938x_charger/p938x_charger.c:3015:2: error: implicit declaration of function 'wakeup_source_trash' [-Werror,-Wimplicit-function-declaration]
        wakeup_source_trash(&chip->wls_wake_source);

This fix replaces

1) wakeup_source_init(..) function with to wakeup_source_register(..)
2) wakeup_source_trash(..) function with to wakeup_source_unregister(..)

Change-Id: I9639f64ad8f9efeaf8f3d199f9a2af27341b145b
Signed-off-by: kumarv <kumarv@motorola.com>
2020-07-14 14:01:58 -05:00
Documentation/devicetree/bindings dlkm: add goodix fod driver 2019-09-26 22:46:49 -05:00
drivers Power: fix implicit bld errs of wakeup_source API's 2020-07-14 14:01:58 -05:00
fs/exfat exfat: use kvzalloc instead kzalloc in exfat_fill_super(). 2020-04-28 20:36:30 -05:00
include Revert "(CR): Send the touchscreen status to display" 2020-07-12 23:00:23 -05:00
sound/soc/codecs ASoC: aw882xx: set speaker default impedance value 2020-05-27 06:09:23 -05:00
AndroidKernelModule.mk Use kernel_definitions.mk if AndroidKernel.mk not existed 2020-06-30 06:44:26 -05:00