| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * OMAP4 PRM module functions |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * BenoƮt Cousson |
|---|
| 7 | 8 | * Paul Walmsley |
|---|
| 8 | 9 | * Rajendra Nayak <rnayak@ti.com> |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 12 | | - * published by the Free Software Foundation. |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | #include <linux/cpu_pm.h> |
|---|
| .. | .. |
|---|
| 748 | 745 | |
|---|
| 749 | 746 | static int omap44xx_prm_late_init(void); |
|---|
| 750 | 747 | |
|---|
| 751 | | -void prm_save_context(void) |
|---|
| 748 | +static void prm_save_context(void) |
|---|
| 752 | 749 | { |
|---|
| 753 | 750 | omap_prm_context.irq_enable = |
|---|
| 754 | 751 | omap4_prm_read_inst_reg(AM43XX_PRM_OCP_SOCKET_INST, |
|---|
| .. | .. |
|---|
| 759 | 756 | omap4_prcm_irq_setup.pm_ctrl); |
|---|
| 760 | 757 | } |
|---|
| 761 | 758 | |
|---|
| 762 | | -void prm_restore_context(void) |
|---|
| 759 | +static void prm_restore_context(void) |
|---|
| 763 | 760 | { |
|---|
| 764 | 761 | omap4_prm_write_inst_reg(omap_prm_context.irq_enable, |
|---|
| 765 | 762 | OMAP4430_PRM_OCP_SOCKET_INST, |
|---|