diff --git a/drivers/Makefile b/drivers/Makefile index 8013e17a9d1a..5c7df751a0ac 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -50,8 +50,6 @@ obj-$(CONFIG_RESET_CONTROLLER) += reset/ obj-y += tty/ obj-y += char/ -# iommu/ comes before gpu as gpu are using iommu controllers -obj-$(CONFIG_IOMMU_SUPPORT) += iommu/ # gpu/ comes after char for AGP vs DRM startup and after iommu obj-y += gpu/ @@ -146,6 +144,9 @@ obj-y += platform/ #common clk code obj-y += clk/ +# iommu/ comes before gpu as gpu are using iommu controllers +obj-$(CONFIG_IOMMU_SUPPORT) += iommu/ + obj-$(CONFIG_MAILBOX) += mailbox/ obj-$(CONFIG_HWSPINLOCK) += hwspinlock/ obj-$(CONFIG_REMOTEPROC) += remoteproc/