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>
This commit is contained in:
Simon Glass 2021-01-21 13:57:12 -07:00
parent 5c5992cb90
commit 0dc2bf2b6e
1 changed files with 2 additions and 2 deletions

View 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,