brcm47xx: add initial support for kernel 3.8
[openwrt.git] / target / linux / generic / patches-3.8 / 840-rtc7301.patch
index 6c56dd714ff256076e10c5337cb72d47f3911b5e..ad837eb971143184a43a8ca15a3077fdb645a1d1 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/rtc/Kconfig
 +++ b/drivers/rtc/Kconfig
-@@ -773,6 +773,15 @@ config RTC_DRV_NUC900
+@@ -781,6 +781,15 @@ config RTC_DRV_NUC900
          If you say yes here you get support for the RTC subsystem of the
          NUC910/NUC920 used in embedded systems.
  
 +      .set_time       = rtc7301_set_datetime,
 +};
 +
-+static int __devinit rtc7301_probe(struct platform_device *pdev)
++static int rtc7301_probe(struct platform_device *pdev)
 +{
 +      struct rtc_device *rtc;
 +      struct resource *res;
 +      return 0;
 +}
 +
-+static int __devexit rtc7301_remove(struct platform_device *pdev)
++static int rtc7301_remove(struct platform_device *pdev)
 +{
 +      struct rtc_device *rtc = platform_get_drvdata(pdev);
 +
 +              .owner  = THIS_MODULE,
 +      },
 +      .probe  = rtc7301_probe,
-+      .remove = __devexit_p(rtc7301_remove),
++      .remove = rtc7301_remove,
 +};
 +
 +static __init int rtc7301_init(void)