diff options
| author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2020-04-13 17:50:16 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-16 12:33:01 +0200 |
| commit | 535bd126d65364b51d9bdeccf584979b7ff1ded3 (patch) | |
| tree | 887429891f573bfeaff51251c78aebb2ddf4b349 /include/linux/debugobjects.h | |
| parent | 4ddf14470bd7c552cbc017e7788491ded6bd8bff (diff) | |
staging: mt7621-pci: rename 'PCIE_P2P_MAX' into 'PCIE_P2P_CNT'
Definition 'PCIE_P2P_MAX' is '3'. The value here is not a MAXimum.
It is a count or a number. It is how many masks there are.
The masks are numbered 0, 1, 2 so the maximum is 2. Hence rename
variable into 'PCIE_P2P_CNT' which is a more accurate name.
Suggested-by: NeilBrown <neil@brown.name>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20200413155018.31921-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
