Page MenuHomeFreeBSD

sdhci_fdt_rockchip: Don't return 0 from probe routine
ClosedPublic

Authored by jhb on Sat, Feb 7, 3:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 2, 9:17 AM
Unknown Object (File)
Sat, Feb 28, 11:32 PM
Unknown Object (File)
Sat, Feb 28, 1:51 AM
Unknown Object (File)
Thu, Feb 26, 8:57 PM
Unknown Object (File)
Mon, Feb 23, 11:24 PM
Unknown Object (File)
Sun, Feb 22, 4:55 PM
Unknown Object (File)
Thu, Feb 19, 8:42 PM
Unknown Object (File)
Fri, Feb 13, 1:08 PM
Subscribers

Details

Summary

The only write to the softc is a no-op (softcs are initialized to all
zeroes), so remove that and just use BUS_PROBE_DEFAULT.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This is not required to build arm64 with GCC (the rest of this stack are fixes needed for that), but is just a cleanup I noticed while fixing the previous patch.

This revision is now accepted and ready to land.Sun, Feb 8, 4:39 PM