summaryrefslogtreecommitdiffstats
path: root/include/linux/ssb
diff options
context:
space:
mode:
authorMichael Büsch <m@bues.ch>2018-07-31 16:15:09 -0400
committerKalle Valo <kvalo@codeaurora.org>2018-08-09 11:47:47 -0400
commit209b43759d65b2cc99ce7757249aacc82b03c4e2 (patch)
tree174ddf048de1dcaea4673e22f619bd93995b59be /include/linux/ssb
parentb8b6069cf2087545fe53ec920e8353133e9a70bf (diff)
ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG
Use the standard WARN_ON instead. If a small kernel is desired, WARN_ON can be disabled globally. Also remove SSB_DEBUG. Besides WARN_ON it only adds a tiny debug check. Include this check unconditionally. Signed-off-by: Michael Buesch <m@bues.ch> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/linux/ssb')
-rw-r--r--include/linux/ssb/ssb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h
index 3b43655cabe6..0d5a2691e7e9 100644
--- a/include/linux/ssb/ssb.h
+++ b/include/linux/ssb/ssb.h
@@ -499,11 +499,9 @@ struct ssb_bus {
499 499
500 /* Internal-only stuff follows. Do not touch. */ 500 /* Internal-only stuff follows. Do not touch. */
501 struct list_head list; 501 struct list_head list;
502#ifdef CONFIG_SSB_DEBUG
503 /* Is the bus already powered up? */ 502 /* Is the bus already powered up? */
504 bool powered_up; 503 bool powered_up;
505 int power_warn_count; 504 int power_warn_count;
506#endif /* DEBUG */
507}; 505};
508 506
509enum ssb_quirks { 507enum ssb_quirks {