On 21.08.15 00:45, Cormac O'Brien wrote:
Modify some basic device tree properties to more accurately emulate a real Mac machine.
Signed-off-by: Cormac O'Brien cormac@c-obrien.org
drivers/cuda.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/cuda.c b/drivers/cuda.c index 9555dea..f117b0b 100644 --- a/drivers/cuda.c +++ b/drivers/cuda.c @@ -380,7 +380,8 @@ powermgt_init(char *path)
ph = find_dev(buf); set_property(ph, "device_type", "power-mgt", 10);
- set_property(ph, "compatible", "power-mgt", 10);
- set_property(ph, "mgt-kind", "min-consumption-pwm-led", strlen("min-consumption-pwm-led") + 1);
- set_property(ph, "compatible", "cuda", strlen("cuda") + 1);
... and more candidates for a string helper function
Alex