summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-21 23:57:12 +0300
committerSimon Glass <sjg@chromium.org>2021-01-31 00:25:41 +0300
commit0dc2bf2b6e6e7581e3307f3aa65d0ce310375511 (patch)
treefe5eca8c4a89240e6e1cd3ebe687ac69633b2ca2 /drivers/clk
parent5c5992cb90cf9ca4d51e38d9a95a13c293904df5 (diff)
downloadu-boot-0dc2bf2b6e6e7581e3307f3aa65d0ce310375511.tar.xz
clk: x86: Correct the driver name
The current driver name does not match its compatible string, so of-platdata does not work correctly. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/intel/clk_intel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/intel/clk_intel.c b/drivers/clk/intel/clk_intel.c
index b633934d90..46ccbb1d83 100644
--- a/drivers/clk/intel/clk_intel.c
+++ b/drivers/clk/intel/clk_intel.c
@@ -29,8 +29,8 @@ static const struct udevice_id intel_clk_ids[] = {
{ }
};
-U_BOOT_DRIVER(clk_intel) = {
- .name = "clk_intel",
+U_BOOT_DRIVER(intel_apl_clk) = {
+ .name = "intel_apl_clk",
.id = UCLASS_CLK,
.of_match = intel_clk_ids,
.ops = &intel_clk_ops,