[PATCH linux 2/6] hwmon: occ: Add sysfs interface

Joel Stanley joel at jms.id.au
Wed Jan 4 11:06:05 AEDT 2017


On Wed, Jan 4, 2017 at 10:49 AM, Brad Bishop
<bradleyb at fuzziesquirrel.com> wrote:
> What if the driver is built into the kernel?  Is there such a thing as module only drivers?

Our kernel is build with module loading disabled at present.

modprobing the driver when userspace is ready is a neat hack that we
could use for now. However, the driver will need a mechanism that
tells it to bind to the hardware when it becomes available. The same
mechanism would be useful for the fsi driver to initiate a scan and
bind it's client drivers.

Cheers,

Joel


More information about the openbmc mailing list