common: Provide DIV_ROUND_CLOSEST macro
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Thu, 21 Nov 2013 21:38:53 +0000 (13:38 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 19 Feb 2014 08:41:21 +0000 (09:41 +0100)
commit23d5c738664918b1cb11cfffe5fbd79940d68c49
tree012b2ee2026a3116af793089a70351d470ec475f
parentbf83495040fcf273eba534f7c2c0cb2325d2240c
common: Provide DIV_ROUND_CLOSEST macro

Provide the DIV_ROUND_CLOSEST macro - taken from the Linux kernel - in
common.h

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/common.h