* GPIO (all variants)
  */
 
-static const struct resource stmpe_gpio_resources[] = {
+static struct resource stmpe_gpio_resources[] = {
        /* Start and end filled dynamically */
        {
                .flags  = IORESOURCE_IRQ,
  * Keypad (1601, 2401, 2403)
  */
 
-static const struct resource stmpe_keypad_resources[] = {
+static struct resource stmpe_keypad_resources[] = {
+       /* Start and end filled dynamically */
        {
                .name   = "KEYPAD",
                .flags  = IORESOURCE_IRQ,
 /*
  * PWM (1601, 2401, 2403)
  */
-static const struct resource stmpe_pwm_resources[] = {
+static struct resource stmpe_pwm_resources[] = {
+       /* Start and end filled dynamically */
        {
                .name   = "PWM0",
                .flags  = IORESOURCE_IRQ,
  * Touchscreen (STMPE811 or STMPE610)
  */
 
-static const struct resource stmpe_ts_resources[] = {
+static struct resource stmpe_ts_resources[] = {
+       /* Start and end filled dynamically */
        {
                .name   = "TOUCH_DET",
                .flags  = IORESOURCE_IRQ,
  * ADC (STMPE811)
  */
 
-static const struct resource stmpe_adc_resources[] = {
+static struct resource stmpe_adc_resources[] = {
+       /* Start and end filled dynamically */
        {
                .name   = "STMPE_TEMP_SENS",
                .flags  = IORESOURCE_IRQ,