clocksource: ingenic: Add explicit include for cpuhotplug.h
authorRob Herring <robh@kernel.org>
Wed, 29 Mar 2023 15:52:08 +0000 (10:52 -0500)
committerRob Herring <robh@kernel.org>
Thu, 13 Apr 2023 22:46:34 +0000 (17:46 -0500)
commitbd08b691615f342b3a10468ee8e182a3707041cc
tree324457b9571600f74513c5851c127893e1424e44
parentb9581552b0b94586fa7296613a5d8a4a63e801be
clocksource: ingenic: Add explicit include for cpuhotplug.h

Removing include of cpu.h from of_device.h (included by of_platform.h)
causes an error in ingenic-timer:

drivers/clocksource/ingenic-timer.c: In function ‘ingenic_tcu_init’:
drivers/clocksource/ingenic-timer.c:338:15: error: implicit declaration of function ‘cpuhp_setup_state’

The of_platform.h header is not necessary either, so it and of_address.h
can be dropped.

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-11-581e2605fe47@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/clocksource/ingenic-timer.c