]> git.baikalelectronics.ru Git - kernel.git/commit
bus: mvebu-mbus: Add new API for window creation
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 26 Jul 2013 13:17:39 +0000 (10:17 -0300)
committerJason Cooper <jason@lakedaemon.net>
Tue, 6 Aug 2013 14:10:01 +0000 (14:10 +0000)
commit6cdd251fe5b4513f4e7431b16bac798e11d7d7b7
tree1349ecea5f28a0794d18af20f467e14670f52617
parentd44d1915b2eaf561e88e124615738e1a428b9428
bus: mvebu-mbus: Add new API for window creation

We add an API to create MBus address decoding windows from the target
ID and attribute. This function will be used later and deprecate the
current name based scheme.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/bus/mvebu-mbus.c
include/linux/mbus.h