Skip to content

Commit

Permalink
platform/x86: mlx-platform: Add define for the negative bus
Browse files Browse the repository at this point in the history
Add define for the negative bus ID in order to use it in case no hotplug
device is associated with the hotplug interrupt signal. In this case,
the signal will be handled by the mlxreg-hotplug driver, but no device
will be associated with the signal.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
  • Loading branch information
Vadim Pasternak authored and Darren Hart (VMware) committed Feb 9, 2018
1 parent ba814fd commit 1778567
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/platform/x86/mlx-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
#define MLXPLAT_CPLD_LPC_MUX_DEVS 2

/* Hotplug devices adapter numbers */
#define MLXPLAT_CPLD_NR_NONE -1
#define MLXPLAT_CPLD_PSU_DEFAULT_NR 10
#define MLXPLAT_CPLD_FAN1_DEFAULT_NR 11
#define MLXPLAT_CPLD_FAN2_DEFAULT_NR 12
Expand Down

0 comments on commit 1778567

Please sign in to comment.