cxl/pci: Convert register block identifiers to an enum
authorBen Widawsky <ben.widawsky@intel.com>
Sat, 9 Oct 2021 16:44:02 +0000 (09:44 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 29 Oct 2021 18:53:51 +0000 (11:53 -0700)
commitcdcce47cb33a6a2ecb1bc113d0ba42ec300a33fe
tree9257c7913fd0f25053845e36cc4d6569c1108eee
parent91a45b12d49e2b43d86caba25ed59fae43344ab8
cxl/pci: Convert register block identifiers to an enum

In preparation for passing around the Register Block Indicator (RBI) as
a parameter, it is desirable to convert the type to an enum so that the
interface can use a well defined parameter.

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
[djbw: changelog fixups ]
Link: https://lore.kernel.org/r/163379784199.692348.4366131432595112771.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/pci.h