[...] > diff --git a/arch/mips/loongson/common/platform.c b/arch/mips/loongson/common/platform.c > new file mode 100644 > index 0000000..fdb24fd > --- /dev/null > +++ b/arch/mips/loongson/common/platform.c > @@ -0,0 +1,32 @@ > +/* > + * Copyright (C) 2009 Lemote Inc. > + * Author: Wu Zhangjin, wuzj@xxxxxxxxxx > + * > + * This program is free software; you can redistribute it and/or modify it > + * under the terms of the GNU General Public License as published by the > + * Free Software Foundation; either version 2 of the License, or (at your > + * option) any later version. > + */ > + > +#include <linux/err.h> > +#include <linux/platform_device.h> > + > +#include <asm/bootinfo.h> The above header file is not needed. Regards, Wu Zhangjin