tx493xide: use min_t() macro instead of min()
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Fri, 4 Jun 2010 23:19:23 +0000 (16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Aug 2010 10:17:55 +0000 (03:17 -0700)
commitcd078af65d5c2f19c0f378062b07a0a79b000723
tree240c79f10333e3f2281e441ddca6924633654df1
parent7d543d8468348c44010c7b4e6fdd23a398779668
tx493xide: use min_t() macro instead of min()

This fixes a warning ("comparison of distinct pointer types lacks a
cast") introduced by the commit
040f6b4f14adb2ca5babb84e9fb2ebc6661e0be2 ("tx493xide: use ->pio_mode
value to determine pair device speed").

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/tx4938ide.c
drivers/ide/tx4939ide.c