diff options
author | Samuel Holland <[email protected]> | 2022-08-14 23:12:41 -0500 |
---|---|---|
committer | Jernej Skrabec <[email protected]> | 2022-09-08 22:27:24 +0200 |
commit | 90e10a1fcd9b24b4ba8c0d35136127473dcd829e (patch) | |
tree | 9a449cc2a14ef476eee8054038ce098fa2daa45a /net/lapb/lapb_timer.c | |
parent | fd362baad2e659ef0fb5652f023a606b248f1781 (diff) |
soc: sunxi: sram: Prevent the driver from being unbound
This driver exports a regmap tied to the platform device (as opposed to
a syscon, which exports a regmap tied to the OF node). Because of this,
the driver can never be unbound, as that would destroy the regmap. Use
builtin_platform_driver_probe() to enforce this limitation.
Fixes: 5828729bebbb ("soc: sunxi: export a regmap for EMAC clock reg on A64")
Reviewed-by: Jernej Skrabec <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Signed-off-by: Jernej Skrabec <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions