synopsis-dwmac: Make ep0_buffer (and friends) static.

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 2a4cb29b27a8a95caa2a2a161555531c0305bc3f
Author: Solomon Peachy <[email protected]>
Date:   Wed Jan 28 15:54:28 2026 -0500

    synopsis-dwmac:  Make ep0_buffer (and friends) static.
    
    Looks like an oversight
    
    Change-Id: Ia730fd1f9e19ca31add581400372dfacead7b452

diff --git a/firmware/drivers/usb-designware.c b/firmware/drivers/usb-designware.c
index 7233f873ed..d1274f5e41 100644
--- a/firmware/drivers/usb-designware.c
+++ b/firmware/drivers/usb-designware.c
@@ -186,8 +186,8 @@ static const char* const dw_resp_str[3] =
 
 static struct usb_dw_ep usb_dw_ep_list[USB_NUM_ENDPOINTS][USB_DW_NUM_DIRS];
 static struct usb_dw_ep0 ep0;
-uint8_t _ep0_buffer[64] USB_DEVBSS_ATTR __attribute__((aligned(32)));
-uint8_t* ep0_buffer; /* Uncached, unless NO_UNCACHED_ADDR is defined */
+static uint8_t _ep0_buffer[64] USB_DEVBSS_ATTR __attribute__((aligned(32)));
+static uint8_t* ep0_buffer; /* Uncached, unless NO_UNCACHED_ADDR is defined */
 
 static uint32_t usb_endpoints;  /* available EPs mask */
 
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.