@@ -610,7 +610,7 @@ static irqreturn_t hidma_chirq_handler(int chirq, void *arg)
610610 return hidma_ll_inthandler (chirq , lldev );
611611}
612612
613- #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
613+ #ifdef CONFIG_GENERIC_MSI_IRQ
614614static irqreturn_t hidma_chirq_handler_msi (int chirq , void * arg )
615615{
616616 struct hidma_lldev * * lldevp = arg ;
@@ -671,7 +671,7 @@ static int hidma_sysfs_init(struct hidma_dev *dev)
671671 return device_create_file (dev -> ddev .dev , dev -> chid_attrs );
672672}
673673
674- #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
674+ #ifdef CONFIG_GENERIC_MSI_IRQ
675675static void hidma_write_msi_msg (struct msi_desc * desc , struct msi_msg * msg )
676676{
677677 struct device * dev = msi_desc_to_dev (desc );
@@ -687,7 +687,7 @@ static void hidma_write_msi_msg(struct msi_desc *desc, struct msi_msg *msg)
687687
688688static void hidma_free_msis (struct hidma_dev * dmadev )
689689{
690- #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
690+ #ifdef CONFIG_GENERIC_MSI_IRQ
691691 struct device * dev = dmadev -> ddev .dev ;
692692 int i , virq ;
693693
@@ -704,7 +704,7 @@ static void hidma_free_msis(struct hidma_dev *dmadev)
704704static int hidma_request_msi (struct hidma_dev * dmadev ,
705705 struct platform_device * pdev )
706706{
707- #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
707+ #ifdef CONFIG_GENERIC_MSI_IRQ
708708 int rc , i , virq ;
709709
710710 rc = platform_msi_domain_alloc_irqs (& pdev -> dev , HIDMA_MSI_INTS ,
0 commit comments