]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/powerpc/sysdev/mpc8xxx_gpio.c
of/gpio: add default of_xlate function if device has a node pointer
[mv-sheeva.git] / arch / powerpc / sysdev / mpc8xxx_gpio.c
index ec8fcd42101e8bdd44116f13d98fe36732bf655c..2b69084d0f0cb7f9cc0acdb4a0d4d1c024bb1a69 100644 (file)
@@ -273,7 +273,6 @@ static void __init mpc8xxx_add_controller(struct device_node *np)
        gc = &mm_gc->gc;
 
        mm_gc->save_regs = mpc8xxx_gpio_save_regs;
-       gc->of_gpio_n_cells = 2;
        gc->ngpio = MPC8XXX_GPIO_PINS;
        gc->direction_input = mpc8xxx_gpio_dir_in;
        gc->direction_output = mpc8xxx_gpio_dir_out;