--- zzzz-none-000/linux-4.4.271/include/linux/ioport.h 2021-06-03 06:22:09.000000000 +0000 +++ maple-fsgw-759/linux-4.4.271/include/linux/ioport.h 2023-12-20 10:37:35.000000000 +0000 @@ -139,6 +139,22 @@ extern struct resource ioport_resource; extern struct resource iomem_resource; +#ifdef CONFIG_AVM_ENHANCED +extern struct resource sflash_resource; +extern struct resource nand_flash_resource; +extern struct resource gpio_resource; + +#ifdef CONFIG_MIPS_UR8 +extern struct resource nwss_tx_queue_resource; +extern struct resource nwss_tx_completion_queue_resource; +extern struct resource nwss_rx_queue_resource; +extern struct resource nwss_free_buffer_queue_resource; +extern struct resource nwss_free_packet_queue_resource; +extern struct resource gpio_resource; +extern struct resource timer_resource; +#endif /*--- #ifdef CONFIG_MIPS_UR8 ---*/ +#endif + extern struct resource *request_resource_conflict(struct resource *root, struct resource *new); extern int request_resource(struct resource *root, struct resource *new); extern int release_resource(struct resource *new);