diff options
author | Thierry Reding <treding@nvidia.com> | 2019-05-27 12:13:59 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-06-01 22:38:56 +0200 |
commit | 3e483e59c79601ea682aa67f9805da79716efab0 (patch) | |
tree | c877a798a1e1b1637922c8786c87b5631f95a066 /drivers/rtc/rtc-max6902.c | |
parent | c6af561a4ad0971c79faee397fa02fa085018fa3 (diff) |
rtc: tegra: Turn into regular driver
Drivers registered with module_platform_driver_probe() are considered
non-hotpluggable, which among other things means that they don't support
deferred probe. However, recent changes in how the ARM SMMU works have
required the BPMP (which is the clock provider on Tegra186 and later) be
bound to the SMMU, which in turn means that the BPMP driver can defer
probe and hence clocks become available much later than they used to.
For most other drivers this is not a problem because they already
properly support deferred probe, but rtc-tegra is the odd one out that
now fails to probe and will therefore never be registered.
Fix this by making the driver a regular driver that supports unloading
and deferred probe.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-max6902.c')
0 files changed, 0 insertions, 0 deletions