Hi, On Tue, Aug 01, 2017 at 10:38:24AM +0200, Loic Poulain wrote: > [...] > + err = of_property_read_u32(serdev->dev.of_node, "max-speed", &speed); > + if (!err) > + bcmdev->hu.oper_speed = speed; > [...] I suggest to use device_property_read_u32() here and include <linux/property.h> instead of <linux/of.h>. This way the serdev support is not DT specific. -- Sebastian
Attachment:
signature.asc
Description: PGP signature