Only define fdt_pic_table on arm, and when not using intrng as this is
the only place that uses it.
This commit is contained in:
parent
654ad322b6
commit
324636c328
@ -45,8 +45,10 @@ struct fdt_sense_level {
|
|||||||
enum intr_polarity pol;
|
enum intr_polarity pol;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(__arm__) && !defined(ARM_INTRNG)
|
||||||
typedef int (*fdt_pic_decode_t)(phandle_t, pcell_t *, int *, int *, int *);
|
typedef int (*fdt_pic_decode_t)(phandle_t, pcell_t *, int *, int *, int *);
|
||||||
extern fdt_pic_decode_t fdt_pic_table[];
|
extern fdt_pic_decode_t fdt_pic_table[];
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__arm__) || defined(__powerpc__)
|
#if defined(__arm__) || defined(__powerpc__)
|
||||||
typedef void (*fdt_fixup_t)(phandle_t);
|
typedef void (*fdt_fixup_t)(phandle_t);
|
||||||
|
Loading…
Reference in New Issue
Block a user