git: kernel - Adjust devlcass arg for DRIVER_MODULE_ORDERED() macro

Matthew Dillon dillon at crater.dragonflybsd.org
Mon May 30 18:20:03 PDT 2022


commit 5716abfee22bb12997f2be6a4cce0b691e6c5436
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon May 30 17:11:29 2022 -0700

    kernel - Adjust devlcass arg for DRIVER_MODULE_ORDERED() macro
    
    * Adjust the argument to pass in &devclass instead of having the macro
      add the '&'.  This allows NULL to be passed in, for better FreeBSD
      compatibility.

Summary of changes:
 sys/bus/u4b/audio/uaudio.c          | 2 +-
 sys/dev/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
 sys/dev/drm/i915/i915_pci.c         | 2 +-
 sys/dev/drm/radeon/radeon_drv.c     | 2 +-
 sys/dev/raid/amr/amr_disk.c         | 2 +-
 sys/sys/bus.h                       | 6 +++---
 6 files changed, 8 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5716abfee22bb12997f2be6a4cce0b691e6c5436


-- 
DragonFly BSD source repository



More information about the Commits mailing list