Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Adrian Hunter and committed by
Alexandre Belloni
f4fe6e70 8c052299

+2 -2
+2 -2
drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c
··· 17 17 int (*init)(struct pci_dev *pci); 18 18 }; 19 19 20 + static DEFINE_IDA(mipi_i3c_hci_pci_ida); 21 + 20 22 #define INTEL_PRIV_OFFSET 0x2b0 21 23 #define INTEL_PRIV_SIZE 0x28 22 24 #define INTEL_PRIV_RESETS 0x04 23 25 #define INTEL_PRIV_RESETS_RESET BIT(0) 24 26 #define INTEL_PRIV_RESETS_RESET_DONE BIT(1) 25 - 26 - static DEFINE_IDA(mipi_i3c_hci_pci_ida); 27 27 28 28 static int mipi_i3c_hci_pci_intel_init(struct pci_dev *pci) 29 29 {