rtc_kern.c (36ec807b627b4c0a0a382f0ae48eac7187d14b2b) | rtc_kern.c (e70140ba0d2b1a30467d4af6bcfe761327b9ec95) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2020 Intel Corporation 4 * Author: Johannes Berg <johannes@sipsolutions.net> 5 */ 6#include <linux/platform_device.h> 7#include <linux/time-internal.h> 8#include <linux/suspend.h> --- 162 unchanged lines hidden (view full) --- 171static void uml_rtc_remove(struct platform_device *pdev) 172{ 173 device_init_wakeup(&pdev->dev, 0); 174 uml_rtc_cleanup(); 175} 176 177static struct platform_driver uml_rtc_driver = { 178 .probe = uml_rtc_probe, | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2020 Intel Corporation 4 * Author: Johannes Berg <johannes@sipsolutions.net> 5 */ 6#include <linux/platform_device.h> 7#include <linux/time-internal.h> 8#include <linux/suspend.h> --- 162 unchanged lines hidden (view full) --- 171static void uml_rtc_remove(struct platform_device *pdev) 172{ 173 device_init_wakeup(&pdev->dev, 0); 174 uml_rtc_cleanup(); 175} 176 177static struct platform_driver uml_rtc_driver = { 178 .probe = uml_rtc_probe, |
179 .remove_new = uml_rtc_remove, | 179 .remove = uml_rtc_remove, |
180 .driver = { 181 .name = "uml-rtc", 182 }, 183}; 184 185static int __init uml_rtc_init(void) 186{ 187 struct platform_device *pdev; --- 23 unchanged lines hidden --- | 180 .driver = { 181 .name = "uml-rtc", 182 }, 183}; 184 185static int __init uml_rtc_init(void) 186{ 187 struct platform_device *pdev; --- 23 unchanged lines hidden --- |