]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
rtc: pcf85363: remove useless forward declaration
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 10 Apr 2019 20:56:03 +0000 (22:56 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 11 Apr 2019 14:42:55 +0000 (16:42 +0200)
It is not necessary to forward declare pcf85363_driver as it is not used
before being declared.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf85363.c

index 5e369846795e786bcc75cfdfd288facec62f711f..afb1baacdaa7035df6b706a6773004ff83f0a0cb 100644 (file)
 
 #define NVRAM_SIZE     0x40
 
-static struct i2c_driver pcf85363_driver;
-
 struct pcf85363 {
        struct rtc_device       *rtc;
        struct regmap           *regmap;