Searched refs:new_compat (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm/mach-mvebu/ |
H A D | board-v7.c | 125 struct property *new_compat; in i2c_quirk() local 127 new_compat = kzalloc(sizeof(*new_compat), GFP_KERNEL); in i2c_quirk() 129 new_compat->name = kstrdup("compatible", GFP_KERNEL); in i2c_quirk() 130 new_compat->length = sizeof("marvell,mv78230-a0-i2c"); in i2c_quirk() 131 new_compat->value = kstrdup("marvell,mv78230-a0-i2c", in i2c_quirk() 134 of_update_property(np, new_compat); in i2c_quirk()
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | omapdss-boot-init.c | 83 char *new_compat; in omapdss_omapify_node() local 102 new_compat = kmalloc(new_len, GFP_KERNEL); in omapdss_omapify_node() 103 if (!new_compat) in omapdss_omapify_node() 106 omapdss_prefix_strcpy(new_compat, new_len, prop->value, prop->length); in omapdss_omapify_node() 108 omapdss_update_prop(node, new_compat, new_len); in omapdss_omapify_node()
|