Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc103349 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Remove BSD and Sys V compat data types.

parent 89e22d15
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -585,13 +585,13 @@ void intc1_req1_irqdispatch(struct pt_regs *regs)
 * au_sleep function in power.c.....maybe I should just pm_register()
 * them instead?
 */
static uint	sleep_intctl_config0[2];
static uint	sleep_intctl_config1[2];
static uint	sleep_intctl_config2[2];
static uint	sleep_intctl_src[2];
static uint	sleep_intctl_assign[2];
static uint	sleep_intctl_wake[2];
static uint	sleep_intctl_mask[2];
static unsigned int	sleep_intctl_config0[2];
static unsigned int	sleep_intctl_config1[2];
static unsigned int	sleep_intctl_config2[2];
static unsigned int	sleep_intctl_src[2];
static unsigned int	sleep_intctl_assign[2];
static unsigned int	sleep_intctl_wake[2];
static unsigned int	sleep_intctl_mask[2];

void
save_au1xxx_intctl(void)
+11 −11
Original line number Diff line number Diff line
@@ -80,17 +80,17 @@ static DEFINE_SPINLOCK(pm_lock);
 * We only have to save/restore registers that aren't otherwise
 * done as part of a driver pm_* function.
 */
static uint	sleep_aux_pll_cntrl;
static uint	sleep_cpu_pll_cntrl;
static uint	sleep_pin_function;
static uint	sleep_uart0_inten;
static uint	sleep_uart0_fifoctl;
static uint	sleep_uart0_linectl;
static uint	sleep_uart0_clkdiv;
static uint	sleep_uart0_enable;
static uint	sleep_usbhost_enable;
static uint	sleep_usbdev_enable;
static uint	sleep_static_memctlr[4][3];
static unsigned int	sleep_aux_pll_cntrl;
static unsigned int	sleep_cpu_pll_cntrl;
static unsigned int	sleep_pin_function;
static unsigned int	sleep_uart0_inten;
static unsigned int	sleep_uart0_fifoctl;
static unsigned int	sleep_uart0_linectl;
static unsigned int	sleep_uart0_clkdiv;
static unsigned int	sleep_uart0_enable;
static unsigned int	sleep_usbhost_enable;
static unsigned int	sleep_usbdev_enable;
static unsigned int	sleep_static_memctlr[4][3];

/* Define this to cause the value you write to /proc/sys/pm/sleep to
 * set the TOY timer for the amount of time you want to sleep.
+3 −3
Original line number Diff line number Diff line
@@ -65,9 +65,9 @@ int __init prom_init(int argc, char **argv, char **envp, int *prom_vec)

	/* We use a0 and a1 to pass initrd start and size.
	*/
	if (((uint) argc > 0) && ((uint)argv > 0)) {
		my_initrd_start = (uint)argc;
		my_initrd_size = (uint)argv;
	if (((unsigned int) argc > 0) && ((uint)argv > 0)) {
		my_initrd_start = (unsigned int)argc;
		my_initrd_size = (unsigned int)argv;
	}

	/* First argv is ignored.
+2 −2
Original line number Diff line number Diff line
@@ -164,8 +164,8 @@ void __init plat_mem_setup(void)
	pm_power_off = momenco_ocelot_power_off;

	/*
	 * initrd_start = (ulong)ocelot_initrd_start;
	 * initrd_end = (ulong)ocelot_initrd_start + (ulong)ocelot_initrd_size;
	 * initrd_start = (unsigned long)ocelot_initrd_start;
	 * initrd_end = (unsigned long)ocelot_initrd_start + (ulong)ocelot_initrd_size;
	 * initrd_below_start_ok = 1;
	 */

+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ static unsigned int apm_poll(struct file *fp, poll_table * wait)
 *   has acknowledge does the actual suspend happen.
 */
static int
apm_ioctl(struct inode * inode, struct file *filp, u_int cmd, u_long arg)
apm_ioctl(struct inode * inode, struct file *filp, unsigned int cmd, unsigned long arg)
{
	struct apm_user *as = filp->private_data;
	unsigned long flags;
Loading