aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans de Goede2015-01-26 16:59:12 +0100
committerHans de Goede2015-02-02 13:55:14 +0100
commit37d46dd3c4f3617b88a5797aab3600d3a4f32bd5 (patch)
tree79aab56d1f8695dd58eddd3f2945192e52371c1f /include
parentd35488c7359ac5b6e20d9fe1895360aa7f3122f2 (diff)
sunxi: rsb: Move rsb_set_device_mode() call to rsb_init()
It turns out that the device_mode_data is rsb specific, rather then slave specific, so integrate the rsb_set_device_mode() call into rsb_init(). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/axp221.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/axp221.h b/include/axp221.h
index 6f24a617b67..a20e25c2f82 100644
--- a/include/axp221.h
+++ b/include/axp221.h
@@ -12,7 +12,6 @@
#define AXP223_DEVICE_ADDR 0x3a3
#define AXP223_RUNTIME_ADDR 0x2d
-#define AXP223_DEVICE_MODE_DATA 0x7c3e00
/* Page 0 addresses */
#define AXP221_CHIP_ID 0x03