]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
greybus: uart-gb: remove global init functions
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 27 Oct 2014 09:42:45 +0000 (17:42 +0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 27 Oct 2014 09:42:45 +0000 (17:42 +0800)
commit4d98098942bda347cd9b5ce1b8f253e631ddf2a8
treee396ec86efac4e54c47c8e4636b4386145d55ef2
parentaed0bc6e6856d467061e8de2f3adc713c3561628
greybus: uart-gb: remove global init functions

The uart-gb code needs to init the tty core before it can add devices.
Previously we hard-coded this in the greybus core, move this to be
"dynamic" and self-contained within the uart-gb.c file.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/core.c
drivers/staging/greybus/greybus.h
drivers/staging/greybus/uart-gb.c