All pastes #21829 Raw Edit

Mine

public text v1 · immutable
#21829 ·published 2005-09-01 14:31 UTC
rendered paste body
static struct resource osk5912_smc91x_resources[] = {
        [0] = {
                .start  = OMAP_OSK_ETHR_START,          /* Physical */
                .end    = OMAP_OSK_ETHR_START + 0xf,
                .flags  = IORESOURCE_MEM,
        },
        [1] = {
                .start  = OMAP_GPIO_IRQ(0),
                .end    = OMAP_GPIO_IRQ(0),
                .flags  = IORESOURCE_IRQ,
        },
};
                                                                                                                             
static struct platform_device osk5912_smc91x_device = {
        .name           = "smc91x",
        .id             = -1,
        .num_resources  = ARRAY_SIZE(osk5912_smc91x_resources),
        .resource       = osk5912_smc91x_resources,
};