]> git.baikalelectronics.ru Git - kernel.git/commit
ssb: SPROM: extract each core power info
authorRafał Miłecki <zajec5@gmail.com>
Mon, 2 Jan 2012 07:41:23 +0000 (08:41 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:06:04 +0000 (14:06 -0500)
commitea01a3eb7aae2cc6fe3a3b24327521bc4ed9bde1
tree48e68f1c2ae6d6b7df11326fc31d9e749acedd62
parentca5d73f2fe76aaa40b74438b4a39c61662fc8377
ssb: SPROM: extract each core power info

We already extract some basic info but it's incomplete, reads info
about the first core only. Used data structure doesn't allow easy
adding of more cores.
This patch adds new struct and array for storing power info. The plan
is to: switch all extractors (including the ones using NVRAM) to new
struct, switch drivers, then deprecate and finally drop old SSB fields.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/pci.c
include/linux/ssb/ssb.h
include/linux/ssb/ssb_regs.h