aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ssb/ssb_driver_chipcommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ssb/ssb_driver_chipcommon.h')
-rw-r--r--include/linux/ssb/ssb_driver_chipcommon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ssb/ssb_driver_chipcommon.h b/include/linux/ssb/ssb_driver_chipcommon.h
index 35717b400cef..89638153cbe1 100644
--- a/include/linux/ssb/ssb_driver_chipcommon.h
+++ b/include/linux/ssb/ssb_driver_chipcommon.h
@@ -360,6 +360,11 @@ struct ssb_chipcommon {
360 u16 fast_pwrup_delay; 360 u16 fast_pwrup_delay;
361}; 361};
362 362
363static inline bool ssb_chipco_available(struct ssb_chipcommon *cc)
364{
365 return (cc->dev != NULL);
366}
367
363extern void ssb_chipcommon_init(struct ssb_chipcommon *cc); 368extern void ssb_chipcommon_init(struct ssb_chipcommon *cc);
364 369
365#include <linux/pm.h> 370#include <linux/pm.h>