ahci: imx: fix the build warning
authorRichard Zhu <hongxing.zhu@nxp.com>
Wed, 21 Mar 2018 02:37:01 +0000 (10:37 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 21 Mar 2018 15:04:07 +0000 (08:04 -0700)
commit3d6f22b74d919a5f32a6093666e85be110cc06de
treef9afe82a0b1cc5525f6a1bd5d8dc9682864fd79a
parent9ab27d1d35fda0c5fce624083e92546a8545e7e5
ahci: imx: fix the build warning

Add the default as the last entry to fix the following
build warning introduced by commit.
e5878732a521 ("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: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_imx.c