mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6: parisc: export length of os_hpmc vector parisc: fix kernel crash (protection id trap) when compiling ruby1.9 parisc: Use DEFINE_SPINLOCK parisc: add uevent helper for parisc bus parisc: fix ipv6 checksum parisc: quiet palo not-found message from "which" parisc: Replace NR_CPUS in parisc code parisc: trivial fixes parisc: fix braino in commit adding __space_to_prot parisc: factor out sid to protid conversion parisc: use leX_to_cpu in place of __fswabX parisc: fix GFP_KERNEL use while atomic in unwinder parisc: remove dead BIO_VMERGE_BOUNDARY and BIO_VMERGE_MAX_SIZE definitions parisc: set_time() catch errors parisc: use the new byteorder headers parisc: drivers/parisc/: make code static parisc: lib/: make code static
This commit is contained in:
commit
29a41e9e02
31 changed files with 191 additions and 173 deletions
|
|
@ -34,7 +34,8 @@ static int parisc_get_time(struct device *dev, struct rtc_time *tm)
|
|||
static int parisc_set_time(struct device *dev, struct rtc_time *tm)
|
||||
{
|
||||
struct parisc_rtc *p = dev_get_drvdata(dev);
|
||||
unsigned long flags, ret;
|
||||
unsigned long flags;
|
||||
int ret;
|
||||
|
||||
spin_lock_irqsave(&p->lock, flags);
|
||||
ret = set_rtc_time(tm);
|
||||
|
|
|
|||
Loading…
Reference in a new issue