Commit 5ddecbec authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] BVME6000 RTC C99

From: Geert Uytterhoeven <geert@linux-m68k.org>

BVME6000 RTC: Use C99 struct initializers
parent 97294071
......@@ -164,11 +164,10 @@ static struct file_operations rtc_fops = {
.release = rtc_release,
};
static struct miscdevice rtc_dev=
{
RTC_MINOR,
"rtc",
&rtc_fops
static struct miscdevice rtc_dev = {
.minor = RTC_MINOR,
.name = "rtc",
.fops = &rtc_fops
};
int __init rtc_DP8570A_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment