]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: x86: Correct the driver name
authorSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2021 20:57:12 +0000 (13:57 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000 (14:25 -0700)
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>
drivers/clk/intel/clk_intel.c

index b633934d90a122c678c63a6f710f1b7162c1b04f..46ccbb1d834d28458bfd37cab709ed240bb24635 100644 (file)
@@ -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,