4 #include <linux/init.h>
7 struct board_staging_clk
{
13 struct board_staging_dev
{
15 struct platform_device
*pdev
;
16 /* Clocks (optional) */
17 const struct board_staging_clk
*clocks
;
19 /* Generic PM Domain (optional) */
25 bool board_staging_dt_node_available(const struct resource
*resource
,
26 unsigned int num_resources
);
27 int board_staging_gic_setup_xlate(const char *gic_match
, unsigned int base
);
28 void board_staging_gic_fixup_resources(struct resource
*res
, unsigned int nres
);
29 int board_staging_register_clock(const struct board_staging_clk
*bsc
);
30 int board_staging_register_device(const struct board_staging_dev
*dev
);
31 void board_staging_register_devices(const struct board_staging_dev
*devs
,
34 #define board_staging(str, fn) \
35 static int __init runtime_board_check(void) \
37 if (of_machine_is_compatible(str)) \
43 device_initcall(runtime_board_check)
45 #endif /* __BOARD_H__ */