cregit-Linux how code gets into the kernel

Release 4.7 drivers/staging/board/kzm9d.c

/* Staging board support for KZM9D. Enable not-yet-DT-capable devices here. */

#include <linux/kernel.h>
#include <linux/platform_device.h>
#include "board.h"


static struct resource usbs1_res[] __initdata = {
	DEFINE_RES_MEM(0xe2800000, 0x2000),
	DEFINE_RES_IRQ(159),
};


static void __init kzm9d_init(void) { board_staging_gic_setup_xlate("arm,pl390", 32); if (!board_staging_dt_node_available(usbs1_res, ARRAY_SIZE(usbs1_res))) { board_staging_gic_fixup_resources(usbs1_res, ARRAY_SIZE(usbs1_res)); platform_device_register_simple("emxx_udc", -1, usbs1_res, ARRAY_SIZE(usbs1_res)); } }

Contributors

PersonTokensPropCommitsCommitProp
magnus dammmagnus damm3766.07%133.33%
geert uytterhoevengeert uytterhoeven1933.93%266.67%
Total56100.00%3100.00%

board_staging("renesas,kzm9d", kzm9d_init);

Overall Contributors

PersonTokensPropCommitsCommitProp
magnus dammmagnus damm7478.72%133.33%
geert uytterhoevengeert uytterhoeven2021.28%266.67%
Total94100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}