ARM-Linux头文件regs-gpio.h怎么include?

时间:2021-06-10 09:59:40
该头文件路径为:/linux-2.6.24/include/asm-arm/arch-s3c2410/regs-gpio.h
但是试了几种方法:
include<include/asm-arm/arch-s3c2410/regs-gpio.h>

include<plat/regs-gpio.h>

include<asm/regs-gpio.h>

...

都不行!

求解答!!

4 个解决方案

#1


include "/linux-2.6.24/include/asm-arm/arch-s3c2410/regs-gpio.h"

#2


试试 include <arch/regs-gpio.h>

#3


或者
#include <asm/arch/regs-gpio.h>
#include <mach/regs-gpio.h>

#4


1.
#include </asm-arm/arch-s3c2410/regs-gpio.h>
2.
#include <asm/regs-gpio.h>

第二种应该可以的.
没有错的话,做了soft link...

#1


include "/linux-2.6.24/include/asm-arm/arch-s3c2410/regs-gpio.h"

#2


试试 include <arch/regs-gpio.h>

#3


或者
#include <asm/arch/regs-gpio.h>
#include <mach/regs-gpio.h>

#4


1.
#include </asm-arm/arch-s3c2410/regs-gpio.h>
2.
#include <asm/regs-gpio.h>

第二种应该可以的.
没有错的话,做了soft link...