mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Make pwmbus driver and devclass vars static; they're not mentioned in any
header file, so they can't be used outside this file anyway.
This commit is contained in:
parent
2d5913e4f4
commit
968e5efcca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349080
@ -195,12 +195,12 @@ static device_method_t pwmbus_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
driver_t pwmbus_driver = {
|
||||
static driver_t pwmbus_driver = {
|
||||
"pwmbus",
|
||||
pwmbus_methods,
|
||||
sizeof(struct pwmbus_softc),
|
||||
};
|
||||
devclass_t pwmbus_devclass;
|
||||
static devclass_t pwmbus_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(pwmbus, pwm, pwmbus_driver, pwmbus_devclass, 0, 0,
|
||||
BUS_PASS_SUPPORTDEV + BUS_PASS_ORDER_MIDDLE);
|
||||
|
Loading…
Reference in New Issue
Block a user