Skip to content
Commit 3d6f22b7 authored by Richard Zhu's avatar Richard Zhu Committed by Tejun Heo
Browse files

ahci: imx: fix the build warning

Add the default as the last entry to fix the following
build warning introduced by commit.
e5878732

 ("ahci: imx: add the imx6qp ahci sata support")

drivers/ata/ahci_imx.c: In function 'imx_sata_disable':
drivers/ata/ahci_imx.c:478:2: warning: enumeration value 'AHCI_IMX53'
not handled in switch [-Wswitch]
  switch (imxpriv->type) {
	    ^~~~~~

Signed-off-by: default avatarRichard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 9ab27d1d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment