Thread (9 messages) flat view 9 messages, 3 authors, 2012-02-01
DORMANTno replies

Revision v1 of 12 in this series.

Revisions (12)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 [diff vs current]
  5. v1 [diff vs current]
  6. v1 [diff vs current]
  7. v1 [diff vs current]
  8. v1 [diff vs current]
  9. v1 [diff vs current]
  10. v1 [diff vs current]
  11. v1 current
  12. v1 [diff vs current]

[PATCH 2/6] drivers/base: add bus for System-on-Chip devices

From: arnd@arndb.de (Arnd Bergmann)
Date: 2012-02-01 16:55:54

On Wednesday 01 February 2012, Jamie Iles wrote:
quoted
+static struct ida soc_ida;
+static spinlock_t soc_lock;
Use DEFINE_IDR() and DEFINE_SPINLOCK() rather than initialising them at runtime?
Good point! "static DEFINE_{IDR,SPINLOCK}()" even, in case that wasn't clear.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help