mvebu: backport mainline patches from kernel 3.11
[openwrt.git] / target / linux / mvebu / patches-3.10 / 0051-bus-mvebu-mbus-Update-main-description.patch
1 From 8f14bc2a883316dfd95383900c61d7d9183e8eaf Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Fri, 5 Jul 2013 14:54:25 +0200
4 Subject: [PATCH 051/203] bus: mvebu-mbus: Update main description
5
6 After replacing the MBus name-based by the new ID-based API
7 let's fix the general description of the driver at the beginning
8 of the file.
9
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 Tested-by: Andrew Lunn <andrew@lunn.ch>
12 Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
13 ---
14  drivers/bus/mvebu-mbus.c | 10 +++-------
15  1 file changed, 3 insertions(+), 7 deletions(-)
16
17 --- a/drivers/bus/mvebu-mbus.c
18 +++ b/drivers/bus/mvebu-mbus.c
19 @@ -35,13 +35,9 @@
20   *
21   * - Provides an API for platform code or device drivers to
22   *   dynamically add or remove address decoding windows for the CPU ->
23 - *   device accesses. This API is mvebu_mbus_add_window(),
24 - *   mvebu_mbus_add_window_remap_flags() and
25 - *   mvebu_mbus_del_window(). Since the (target, attribute) values
26 - *   differ from one SoC family to another, the API uses a 'const char
27 - *   *' string to identify devices, and this driver is responsible for
28 - *   knowing the mapping between the name of a device and its
29 - *   corresponding (target, attribute) in the current SoC family.
30 + *   device accesses. This API is mvebu_mbus_add_window_by_id(),
31 + *   mvebu_mbus_add_window_remap_by_id() and
32 + *   mvebu_mbus_del_window().
33   *
34   * - Provides a debugfs interface in /sys/kernel/debug/mvebu-mbus/ to
35   *   see the list of CPU -> SDRAM windows and their configuration