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)
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

Simple merge
Simple merge