HomeFreeBSD

Fix ds1307 probing

Description

Fix ds1307 probing

'compat' can never be NULL, because the compatible check loop ends when
compat->ocd_str is NULL. This causes ds1307 to attach to any unclaimed i2c
device.

Details

Provenance
jhibbitsAuthored on
Parents
rS306287: bhnd(4): Implement common API for IOST/IOCTL register access and core reset
Branches
Unknown
Tags
Unknown