--- zzzz-none-000/linux-2.6.39.4/include/linux/ioport.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/include/linux/ioport.h 2021-11-10 13:23:10.000000000 +0000 @@ -112,6 +112,10 @@ /* PC/ISA/whatever - the normal PC address spaces: IO and memory */ extern struct resource ioport_resource; extern struct resource iomem_resource; +extern struct resource sflash_resource; +extern struct resource nand_flash_resource; + +extern struct resource gpio_resource; extern struct resource *request_resource_conflict(struct resource *root, struct resource *new); extern int request_resource(struct resource *root, struct resource *new);