diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-08-31 08:49:46 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-22 09:39:03 +0100 |
commit | fb8c9959a3e2e4a28f58d9a9d056d633a3386524 (patch) | |
tree | bfc5ab464f4136d3f15310bce56fa127ee78a906 /drivers/pcmcia/soc_common.h | |
parent | ac61b6001a636ab9aa954b5f9a996056cd8519f4 (diff) | |
download | linux-fb8c9959a3e2e4a28f58d9a9d056d633a3386524.tar.gz linux-fb8c9959a3e2e4a28f58d9a9d056d633a3386524.tar.xz |
pcmcia: soc_common: switch to a per-socket cpufreq notifier
Switch to a per-socket cpufreq notifier rather than a global notifier.
This allows each socket to be self-contained.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/pcmcia/soc_common.h')
-rw-r--r-- | drivers/pcmcia/soc_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pcmcia/soc_common.h b/drivers/pcmcia/soc_common.h index 18a6df5ca374..f66e2fb1f33f 100644 --- a/drivers/pcmcia/soc_common.h +++ b/drivers/pcmcia/soc_common.h @@ -75,6 +75,9 @@ struct soc_pcmcia_socket { unsigned int irq_state; +#ifdef CONFIG_CPU_FREQ + struct notifier_block cpufreq_nb; +#endif struct timer_list poll_timer; struct list_head node; }; |