void fb_of_reserve_add_fixup(struct fb_info *info) { if (!IS_ENABLED(CONFIG_OFDEVICE)) return; of_register_fixup(fb_of_reserve_fixup, info); }
void at91sam9x5ek_devices_detect_hw(void) { at91sam9x5ek_devices_detect_one("/dev/ds24310"); at91sam9x5ek_devices_detect_one("/dev/ds24311"); at91sam9x5ek_devices_detect_one("/dev/ds24330"); pr_info("sn: 0x%x, rev: 0x%x\n", sn, rev); armlinux_set_revision(rev); armlinux_set_serial(sn); if (at91sam9x5ek_cm_is_vendor(VENDOR_COGENT)) of_register_fixup(cm_cogent_fixup); }
static int kirkwood_register_soc_fixup(void) { mvebu_mbus_add_range("marvell,kirkwood", 0xf0, 0x01, MVEBU_REMAP_INT_REG_BASE); return of_register_fixup(kirkwood_init_soc, NULL); }
static int of_register_mpc85xx_fixup(void) { return of_register_fixup(fdt_cpu_setup, NULL); }
static int of_register_p1010rdb_fixup(void) { return of_register_fixup(fdt_board_setup, NULL); }