Allow CONFIG_RESET_QCOM_AOSS to be set as as =m to allow for the driver to be loaded from a modules. Also replaces the builtin_platform_driver() line with module_platform_driver() and adds a MODULE_DEVICE_TABLE() entry. Cc: Todd Kjos <tkjos@google.com> Cc: Alistair Delva <adelva@google.com> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Amit Pundir <amit.pundir@linaro.org> Cc: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org> Bug: 146449535 Change-Id: I89e20bc1678f206ffdf4aab86aa82bb5d2fc5ced Link: https://lore.kernel.org/lkml/20200108001913.28485-1-john.stultz@linaro.org/T/#u --- v2: Fix builtin_platform_driver line in driver code v3: Add MODULE_DEVICE_TABLE() as suggested by Bjorn
3.5 KiB
3.5 KiB