• Alexander Shiyan's avatar
    serial: max310x: Fix dev_pm_ops · c2978296
    Alexander Shiyan authored
    This patch fixes wrong dev_pm_ops which caused by commit:
    serial: max310x: Driver rework.
    
      CC      drivers/tty/serial/max310x.o
      LD      drivers/video/fb.o
      CC      drivers/w1/slaves/w1_ds2433.o
      CC      drivers/w1/slaves/w1_ds2760.o
      CC      drivers/xen/balloon.o
      CC      drivers/video/backlight/adp8870_bl.o
    drivers/tty/serial/max310x.c:1292:8: warning: initialization from incompatible pointer type [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: (near initialization for 'max310x_pm_ops.suspend') [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: initialization from incompatible pointer type [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: (near initialization for 'max310x_pm_ops.resume') [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: initialization from incompatible pointer type [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: (near initialization for 'max310x_pm_ops.freeze') [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: initialization from incompatible pointer type [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: (near initialization for 'max310x_pm_ops.thaw') [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: initialization from incompatible pointer type [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: (near initialization for 'max310x_pm_ops.poweroff') [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: initialization from incompatible pointer type [enabled by default]
    drivers/tty/serial/max310x.c:1292:8: warning: (near initialization for 'max310x_pm_ops.restore') [enabled by default]
    Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
    Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    c2978296
max310x.c 37.4 KB