diff options
author | AnilKumar Ch <anilkumar@ti.com> | 2012-08-20 16:50:54 +0530 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-09-21 23:58:47 +0200 |
commit | 4cdd34b26826e89972c03043987b83f76e7ad510 (patch) | |
tree | 634e385dc93e91b97b12f8e71aec1baaa6db4fdb /drivers/net/can/c_can/c_can.h | |
parent | 2469627d175c1d6d7812a1395dd3ef053a0e65b3 (diff) | |
download | linux-4cdd34b26826e89972c03043987b83f76e7ad510.tar.bz2 |
can: c_can: Add runtime PM support to Bosch C_CAN/D_CAN controller
Add Runtime PM support to C_CAN/D_CAN controller. The runtime PM
APIs control clocks for C_CAN/D_CAN IP and prevent access to the
register of C_CAN/D_CAN IP when clock is turned off.
Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/c_can/c_can.h')
-rw-r--r-- | drivers/net/can/c_can/c_can.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/c_can/c_can.h b/drivers/net/can/c_can/c_can.h index 4e56baa9c2da..1437a6dbdca5 100644 --- a/drivers/net/can/c_can/c_can.h +++ b/drivers/net/can/c_can/c_can.h @@ -153,6 +153,7 @@ struct c_can_priv { struct can_priv can; /* must be the first member */ struct napi_struct napi; struct net_device *dev; + struct device *device; int tx_object; int current_status; int last_status; |