[PATCH V3 02/12] i3c: mipi-i3c-hci-pci: Move all Intel-related definitions together

Frank Li Frank.li at nxp.com
Mon Nov 17 07:34:57 PST 2025


On Mon, Nov 17, 2025 at 03:15:58PM +0200, Adrian Hunter wrote:
> Move all Intel-related definitions together, to tidy the code slightly.
>
> Signed-off-by: Adrian Hunter <adrian.hunter at intel.com>
> ---

Reviewed-by: Frank Li <Frank.Li at nxp.com>

>
>
> Changes in V2 and V3:
>
> 	None
>
>
>  drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c b/drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c
> index 3cd15ca7d391..3d854cee05df 100644
> --- a/drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c
> +++ b/drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c
> @@ -17,14 +17,14 @@ struct mipi_i3c_hci_pci_info {
>  	int (*init)(struct pci_dev *pci);
>  };
>
> +static DEFINE_IDA(mipi_i3c_hci_pci_ida);
> +
>  #define INTEL_PRIV_OFFSET		0x2b0
>  #define INTEL_PRIV_SIZE			0x28
>  #define INTEL_PRIV_RESETS		0x04
>  #define INTEL_PRIV_RESETS_RESET		BIT(0)
>  #define INTEL_PRIV_RESETS_RESET_DONE	BIT(1)
>
> -static DEFINE_IDA(mipi_i3c_hci_pci_ida);
> -
>  static int mipi_i3c_hci_pci_intel_init(struct pci_dev *pci)
>  {
>  	unsigned long timeout;
> --
> 2.51.0
>
>
> --
> linux-i3c mailing list
> linux-i3c at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-i3c



More information about the linux-i3c mailing list