X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far7%2Ffiles%2Farch%2Fmips%2Far7%2Fclock.c;h=0f7e2d7eeb33fc3b6bca365fe5b2bea6984afc7a;hb=d0c3e0cedc951ddb06fc1402798cefa7bc788267;hp=139e91517591ac0cda23a807a5ef8d020aa83eb1;hpb=d127ad92388187340a9fed0e6d05bb0296ddc254;p=openwrt.git diff --git a/target/linux/ar7/files/arch/mips/ar7/clock.c b/target/linux/ar7/files/arch/mips/ar7/clock.c index 139e915175..0f7e2d7eeb 100644 --- a/target/linux/ar7/files/arch/mips/ar7/clock.c +++ b/target/linux/ar7/files/arch/mips/ar7/clock.c @@ -1,5 +1,6 @@ /* - * Copyright (C) 2007 OpenWrt.org + * Copyright (C) 2007 Felix Fietkau + * Copyright (C) 2007 Eugene Konev * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -60,14 +61,14 @@ struct tnetd7300_clock { #define PLL_DIV 0x00000002 #define PLL_STATUS 0x00000001 u32 unused2[3]; -} __packed; +}; struct tnetd7300_clocks { struct tnetd7300_clock bus; struct tnetd7300_clock cpu; struct tnetd7300_clock usb; struct tnetd7300_clock dsp; -} __packed; +}; struct tnetd7200_clock { volatile u32 ctrl; @@ -82,13 +83,13 @@ struct tnetd7200_clock { volatile u32 status; volatile u32 cmden; u32 padding[15]; -} __packed; +}; struct tnetd7200_clocks { struct tnetd7200_clock cpu; struct tnetd7200_clock dsp; struct tnetd7200_clock usb; -} __packed; +}; int ar7_cpu_clock = 150000000; EXPORT_SYMBOL(ar7_cpu_clock);