• Randy Dunlap's avatar
    scsi: ufs: ufs-mediatek: Add dependency for RESET_CONTROLLER · 89f7ef7f
    Randy Dunlap authored
    When RESET_CONTROLLER is not set, kconfig complains about missing
    dependencies for RESET_TI_SYSCON, so add the missing dependency just as is
    done above for SCSI_UFS_QCOM.
    
    Silences this kconfig warning:
    
    WARNING: unmet direct dependencies detected for RESET_TI_SYSCON
      Depends on [n]: RESET_CONTROLLER [=n] && HAS_IOMEM [=y]
      Selected by [m]:
      - SCSI_UFS_MEDIATEK [=m] && SCSI_UFSHCD [=y] && SCSI_UFSHCD_PLATFORM [=y] && ARCH_MEDIATEK [=y]
    
    Fixes: de48898d ("scsi: ufs-mediatek: Create reset control device_link")
    Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Link: lore.kernel.org/r/202306020859.1wHg9AaT-lkp@intel.com
    Link: https://lore.kernel.org/r/20230701052348.28046-1-rdunlap@infradead.org
    Cc: Stanley Chu <stanley.chu@mediatek.com>
    Cc: Peter Wang <peter.wang@mediatek.com>
    Cc: Paul Gazzillo <paul@pgazz.com>
    Cc: Necip Fazil Yildiran <fazilyildiran@gmail.com>
    Cc: linux-scsi@vger.kernel.org
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-mediatek@lists.infradead.org
    Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
    Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    89f7ef7f
Kconfig 4.6 KB