eeprom: at24: fix 'assignment from incompatible pointer type' warning
The patch fixes this compiler's warning:

      CC      drivers/eeprom/at24.o
    drivers/eeprom/at24.c: In function ‘at24_probe’:
    drivers/eeprom/at24.c:453:21: warning: assignment from incompatible
    pointer type [-Wincompatible-pointer-types]
      at24->fops.protect = at24_cdev_protect,
                         ^

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f5fb5c8 commit 6d25da9e51d954cb6435cf4b505f161614c8d02e
@Antony Pavlov Antony Pavlov authored on 9 Oct 2017
Sascha Hauer committed on 16 Oct 2017
Showing 1 changed file
View
drivers/eeprom/at24.c