diff mbox series

MIPS: lantiq: remove unused function declaration

Message ID 20230329210328.9320-1-olek2@wp.pl (mailing list archive)
State Accepted
Commit 045c340c86f8a9d7cb675e179dc6297caa6ebc01
Headers show
Series MIPS: lantiq: remove unused function declaration | expand

Commit Message

Aleksander Jan Bajkowski March 29, 2023, 9:03 p.m. UTC
The removed function declaration is a leftover of the old gphy firmware
loader, that has been removed in d5103604f78e1afc29e586785af540c82b573f3a.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
 arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Thomas Bogendoerfer April 5, 2023, 8:26 a.m. UTC | #1
On Wed, Mar 29, 2023 at 11:03:28PM +0200, Aleksander Jan Bajkowski wrote:
> The removed function declaration is a leftover of the old gphy firmware
> loader, that has been removed in d5103604f78e1afc29e586785af540c82b573f3a.
> 
> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
> ---
>  arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
> index 4790cfa190d6..c2e0acb755cd 100644
> --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
> +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
> @@ -94,9 +94,6 @@ extern __iomem void *ltq_cgu_membase;
>  #define LTQ_MPS_BASE_ADDR	(KSEG1 + 0x1F107000)
>  #define LTQ_MPS_CHIPID		((u32 *)(LTQ_MPS_BASE_ADDR + 0x0344))
>  
> -/* allow booting xrx200 phys */
> -int xrx200_gphy_boot(struct device *dev, unsigned int id, dma_addr_t dev_addr);
> -
>  /* request a non-gpio and set the PIO config */
>  #define PMU_PPE			 BIT(13)
>  extern void ltq_pmu_enable(unsigned int module);
> -- 
> 2.30.2

applied to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
index 4790cfa190d6..c2e0acb755cd 100644
--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
@@ -94,9 +94,6 @@  extern __iomem void *ltq_cgu_membase;
 #define LTQ_MPS_BASE_ADDR	(KSEG1 + 0x1F107000)
 #define LTQ_MPS_CHIPID		((u32 *)(LTQ_MPS_BASE_ADDR + 0x0344))
 
-/* allow booting xrx200 phys */
-int xrx200_gphy_boot(struct device *dev, unsigned int id, dma_addr_t dev_addr);
-
 /* request a non-gpio and set the PIO config */
 #define PMU_PPE			 BIT(13)
 extern void ltq_pmu_enable(unsigned int module);