diff options
Diffstat (limited to 'src/device/device_const.c')
-rw-r--r-- | src/device/device_const.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/device_const.c b/src/device/device_const.c index 2dc583ca27..5288a743b6 100644 --- a/src/device/device_const.c +++ b/src/device/device_const.c @@ -162,6 +162,9 @@ static int path_eq(const struct device_path *path1, case DEVICE_PATH_LPC: equal = (path1->lpc.addr == path2->lpc.addr); break; + case DEVICE_PATH_GPIO: + equal = (path1->gpio.id == path2->gpio.id); + break; default: printk(BIOS_ERR, "Unknown device type: %d\n", path1->type); break; |