nxp: emc2305: Cleanup headers

There is no user of gd, drop the usage of DECLARE_GLOBAL_DATA_PTR and
the including of "asm/global_data.h". Include config.h to avoid
build error.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Peng Fan
2026-02-09 09:30:14 +08:00
committed by Tom Rini
parent 90d7b4c8a5
commit b2db865c4e

View File

@@ -4,15 +4,13 @@
*
*/
#include <config.h>
#include <command.h>
#include <i2c.h>
#include <asm/global_data.h>
#include <asm/io.h>
#include "emc2305.h"
DECLARE_GLOBAL_DATA_PTR;
void set_fan_speed(u8 data, int chip_addr)
{
u8 index;