~ubuntu-branches/ubuntu/karmic/linux-ports/karmic

« back to all changes in this revision

Viewing changes to arch/m68k/kernel/time.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich, Luke Yelavich, Michael Casadevall, Tim Gardner, Upstream Kernel Changes
  • Date: 2009-05-06 18:18:55 UTC
  • Revision ID: james.westby@ubuntu.com-20090506181855-t00baeevpnvd9o7a
Tags: 2.6.30-1.1
[ Luke Yelavich ]
* initial release for karmic
* SAUCE: rebase-ports - adjust for the karmic ports kernel
* SAUCE: rebase-ports - also remove abi dirs/files on rebase
* Update configs after rebase against mainline Jaunty tree
* [Config] Disable CONFIG_BLK_DEV_UB and CONFIG_USB_LIBUSUAL as per
  mainline jaunty
* forward-port patch to drbd for powerpc compilation
* [Config] disable CONFIG_LENOVO_SL_LAPTOP for i386 due to FTBFS
* add .o files found in arch/powerpc/lib to all powerpc kernel header
  packages
* [Config] enable CONFIG_DRM_I915_KMS for i386 as per karmic mainline

[ Michael Casadevall ]

* Disable kgdb on sparc64
* [sparc] [Config] Disable GPIO LEDS
* [ia64] Rename -ia64-generic to -ia64 in line with other architectures
* Correct kernel image path for sparc builds
* [hppa] Fix HPPA config files to build modules for all udebian

Rebase on top of karmic mainline 2.6.30-1.1

[ Tim Gardner ]

* [Config] armel: disable staging drivers, fixes FTBS
* [Config] armel imx51: Disable CONFIG_MTD_NAND_MXC, fixes FTBS

[ Upstream Kernel Changes ]

* mpt2sas: Change reset_type enum to avoid namespace collision.
  Submitted upstream.

* Initial release after rebasing against v2.6.30-rc3

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#include <linux/string.h>
19
19
#include <linux/mm.h>
20
20
#include <linux/rtc.h>
 
21
#include <linux/platform_device.h>
21
22
 
22
23
#include <asm/machdep.h>
23
24
#include <asm/io.h>
159
160
}
160
161
 
161
162
EXPORT_SYMBOL(do_settimeofday);
 
163
 
 
164
 
 
165
static int __init rtc_init(void)
 
166
{
 
167
        struct platform_device *pdev;
 
168
 
 
169
        if (!mach_hwclk)
 
170
                return -ENODEV;
 
171
 
 
172
        pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0);
 
173
        if (IS_ERR(pdev))
 
174
                return PTR_ERR(pdev);
 
175
 
 
176
        return 0;
 
177
}
 
178
 
 
179
module_init(rtc_init);