aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJin Qian <jinqian@google.com>2015-11-30 16:24:50 -0800
committerDavid 'Digit' Turner <digit@google.com>2016-11-07 14:03:31 +0100
commit81e589f88aadfe7258d49c1d0bbe9edef68673ea (patch)
tree146e846b46860e151118524d2fba2c2e4b6acff8
parentb5791c859f8a259408553d7ec6e1202fbc25086d (diff)
downloadqemu-android-81e589f88aadfe7258d49c1d0bbe9edef68673ea.tar.gz
arm: add "google,android-pipe" to ranchu device compatible string
Upstream require us to use a proper vendor prefix. Add a new string to make it compatible with older kernels. BUG=25974648 Change-Id: I2064c910a82898a96e371a787ceb35fae418488a
-rw-r--r--hw/arm/ranchu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/arm/ranchu.c b/hw/arm/ranchu.c
index eef6aa9f4d..28266cb8db 100644
--- a/hw/arm/ranchu.c
+++ b/hw/arm/ranchu.c
@@ -528,7 +528,8 @@ static void ranchu_init(MachineState *machine)
create_simple_device(vbi, pic, RANCHU_GOLDFISH_EVDEV, "goldfish-events",
"generic,goldfish-events-keypad", 1, 0, 0);
create_simple_device(vbi, pic, RANCHU_GOLDFISH_PIPE, "goldfish_pipe",
- "generic,android-pipe", 1, 0, 0);
+ "google,android-pipe\0generic,android-pipe",
+ 2, 0, 0);
create_simple_device(vbi, pic, RANCHU_GOLDFISH_SYNC, "goldfish-sync",
"generic,goldfish-sync", 1, 0, 0);