platform/x86: mlx-platform: Add define for the negative bus
"Linux Kernel Mailing List" <[email protected]> Sat, 10 Feb 2018 22:00:25 +0000 (UTC)
| Newsgroups | gmane.linux.kernel.commits.head |
|---|---|
| Message-ID | <[email protected]> |
Web: https://git.kernel.org/torvalds/c/1778567a2063c3027f3ab03748fadab5840eba33 Commit: 1778567a2063c3027f3ab03748fadab5840eba33 Parent: ba814fdd0eac312be9cf204066760ef8d0f57221 Refname: refs/heads/master Author: Vadim Pasternak <[email protected]> AuthorDate: Fri Feb 2 08:45:46 2018 +0000 Committer: Darren Hart (VMware) <[email protected]> CommitDate: Thu Feb 8 17:45:52 2018 -0800 platform/x86: mlx-platform: Add define for the negative bus 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 <[email protected]> Signed-off-by: Darren Hart (VMware) <[email protected]> --- drivers/platform/x86/mlx-platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/mlx-platform.c b/drivers/platform/x86/mlx-platform.c index 60bf758ff382..2e9f9e4302b2 100644 --- a/drivers/platform/x86/mlx-platform.c +++ b/drivers/platform/x86/mlx-platform.c @@ -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 -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html