Skip to content

Commit f4fe6e7

Browse files
ahunter6alexandrebelloni
authored andcommitted
i3c: mipi-i3c-hci-pci: Move all Intel-related definitions together
Move all Intel-related definitions together, to tidy the code slightly. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20251128064038.55158-3-adrian.hunter@intel.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 8c05229 commit f4fe6e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ struct mipi_i3c_hci_pci_info {
1717
int (*init)(struct pci_dev *pci);
1818
};
1919

20+
static DEFINE_IDA(mipi_i3c_hci_pci_ida);
21+
2022
#define INTEL_PRIV_OFFSET 0x2b0
2123
#define INTEL_PRIV_SIZE 0x28
2224
#define INTEL_PRIV_RESETS 0x04
2325
#define INTEL_PRIV_RESETS_RESET BIT(0)
2426
#define INTEL_PRIV_RESETS_RESET_DONE BIT(1)
2527

26-
static DEFINE_IDA(mipi_i3c_hci_pci_ida);
27-
2828
static int mipi_i3c_hci_pci_intel_init(struct pci_dev *pci)
2929
{
3030
unsigned long timeout;

0 commit comments

Comments
 (0)