]> git.baikalelectronics.ru Git - kernel.git/commit
ucc_geth: fix compilation
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 13 Sep 2007 15:23:33 +0000 (19:23 +0400)
committerJeff Garzik <jeff@garzik.org>
Sat, 15 Sep 2007 23:32:01 +0000 (19:32 -0400)
commitf70670414eb0e924512f7c2cca24700d9b2989eb
tree26b2045acb04625f824441fe22a51da8d9d6a570
parentb50ddf2b7d8f892f2d13ca9a7191c3f01bd7e37b
ucc_geth: fix compilation

Currently qe_bd_t is used in the macro call -- dma_unmap_single,
which is a no-op on PPC32, thus error is hidden today. Starting
with 2.6.24, macro will be replaced by the empty static function,
and erroneous use of qe_bd_t will trigger compilation error.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ucc_geth.c