diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-11 13:53:31 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-03-17 22:46:12 +0400 |
commit | 48352e5286b455eaffed19a89d3a07e609bfa6d2 (patch) | |
tree | 6ecfe9fe2764b36cba4a915f21db330be49f9aec /drivers/net/ethernet/freescale/fec_ptp.c | |
parent | 397d77a5669d39c6ee5d373e3a51131959fac21e (diff) | |
download | linux-48352e5286b455eaffed19a89d3a07e609bfa6d2.tar.xz |
ARM: prima2: build reset code standalone
The prima2 platform code currently depends on the rstc
implementation and that in turn depends on the reset
controller framework. This removes the platform dependency
by letting the driver access arm_pm_restart directly
to turn the driver into a standalone entity, and also
removes the dependency on the reset controller framework
by using "if (IS_ENABLED(CONFIG_RESET_CONTROLLER))". This
will cause all code that is used for the reset controller
to be dropped by the compiler if the framework is disabled.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_ptp.c')
0 files changed, 0 insertions, 0 deletions