Procházet zdrojové kódy

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>
Simon Glass před 3 roky
rodič
revize
0dc2bf2b6e
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      drivers/clk/intel/clk_intel.c

+ 2 - 2
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,