leds-cobalt-qube.c (ebf8889bd1fe3615991ff4494635d237280652a2) leds-cobalt-qube.c (3c4ded9715c05724939c9a4bd72555c2ade71d97)
1/*
2 * Copyright 2006 - Florian Fainelli <florian@openwrt.org>
3 *
4 * Control the Cobalt Qube/RaQ front LED
5 */
6#include <linux/init.h>
7#include <linux/io.h>
8#include <linux/ioport.h>

--- 61 unchanged lines hidden (view full) ---

70 if (led_port) {
71 iounmap(led_port);
72 led_port = NULL;
73 }
74
75 return 0;
76}
77
1/*
2 * Copyright 2006 - Florian Fainelli <florian@openwrt.org>
3 *
4 * Control the Cobalt Qube/RaQ front LED
5 */
6#include <linux/init.h>
7#include <linux/io.h>
8#include <linux/ioport.h>

--- 61 unchanged lines hidden (view full) ---

70 if (led_port) {
71 iounmap(led_port);
72 led_port = NULL;
73 }
74
75 return 0;
76}
77
78/* work with hotplug and coldplug */
79MODULE_ALIAS("platform:cobalt-qube-leds");
80
78static struct platform_driver cobalt_qube_led_driver = {
79 .probe = cobalt_qube_led_probe,
80 .remove = __devexit_p(cobalt_qube_led_remove),
81 .driver = {
82 .name = "cobalt-qube-leds",
83 .owner = THIS_MODULE,
84 },
85};

--- 17 unchanged lines hidden ---
81static struct platform_driver cobalt_qube_led_driver = {
82 .probe = cobalt_qube_led_probe,
83 .remove = __devexit_p(cobalt_qube_led_remove),
84 .driver = {
85 .name = "cobalt-qube-leds",
86 .owner = THIS_MODULE,
87 },
88};

--- 17 unchanged lines hidden ---