]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb60cfa0fd426fd53f6e1ede272a63565166e761
tree240c79f10333e3f2281e441ddca6924633654df1
parent63d0ab25caa18b9ff22e33fad647fb1022bd8349
tx493xide: use min_t() macro instead of min()

This fixes a warning ("comparison of distinct pointer types lacks a
cast") introduced by the commit
76f09b8ac5284be823a2025bbc386351345f0218 ("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