Skip to content

Commit 3a0c989

Browse files
committed
[R550 driver support] add fallback logic to device.Exists(name)
Signed-off-by: Tariq Ibrahim <[email protected]> (cherry picked from commit f80f4c4)
1 parent 5d246ad commit 3a0c989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/info/proc/devices/devices.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (d devices) Count() int {
6767

6868
// Exists checks if a Device with a given name exists or not
6969
func (d devices) Exists(name Name) bool {
70-
_, exists := d[name]
70+
_, exists := d.Get(name)
7171
return exists
7272
}
7373

0 commit comments

Comments
 (0)