USB: host: ohci-at91: Move global variables to private struct
authorSylvain Rochet <sylvain.rochet@finsecur.com>
Tue, 20 Jan 2015 13:39:02 +0000 (14:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 13:06:42 +0000 (21:06 +0800)
commit1b207459f7ab5f130f44b89ad07f3e8769ea5c17
treea68be87bbba6e236aaa06894f5dd5d7f851f0e4d
parent7baddacbe1bc7186268aea0697400197c836f682
USB: host: ohci-at91: Move global variables to private struct

This patch move AT91 OHCI global variables (clocks ptr and clocked
boolean) to private struct ohci_at91_priv, stored in ohci->priv.

Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-at91.c