Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114154
b: refs/heads/master
c: d39bd56
h: refs/heads/master
v: v3
  • Loading branch information
Dominik Brodowski committed Aug 29, 2008
1 parent 814760c commit 054f8a8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a58357862e71919555ea96cd272e535593a8b3da
refs/heads/master: d39bd56452b509f8d6054883b8a0129950ba50cc
2 changes: 1 addition & 1 deletion trunk/drivers/pcmcia/au1000_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ au1x00_pcmcia_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *map)
skt->spd_io[map->map] = speed;
}

map->start=(ioaddr_t)(u32)skt->virt_io;
map->start=(unsigned int)(u32)skt->virt_io;
map->stop=map->start+MAP_SIZE;
return 0;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/pcmcia/au1000_generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ struct au1000_pcmcia_socket {
struct resource res_attr;

void * virt_io;
ioaddr_t phys_io;
unsigned int phys_io;
unsigned int phys_attr;
unsigned int phys_mem;
unsigned short speed_io, speed_attr, speed_mem;
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/usb/host/sl811_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ static struct platform_device platform_dev = {
.num_resources = ARRAY_SIZE(resources),
};

static int sl811_hc_init(struct device *parent, ioaddr_t base_addr, int irq)
static int sl811_hc_init(struct device *parent, resource_size_t base_addr,
int irq)
{
if (platform_dev.dev.parent)
return -EBUSY;
Expand Down
8 changes: 0 additions & 8 deletions trunk/include/pcmcia/cs_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@
#include <sys/types.h>
#endif

#if defined(__arm__) || defined(__mips__) || defined(__avr32__) || \
defined(__bfin__)
/* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */
typedef u_int ioaddr_t;
#else
typedef u_short ioaddr_t;
#endif

typedef u_short socket_t;
typedef u_int event_t;
typedef u_char cisdata_t;
Expand Down
8 changes: 8 additions & 0 deletions trunk/include/pcmcia/ds.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,14 @@ const char *pcmcia_error_ret(int ret);

#if defined(CONFIG_PCMCIA_IOCTL) || !defined(__KERNEL__)

#if defined(__arm__) || defined(__mips__) || defined(__avr32__) || \
defined(__bfin__)
/* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */
typedef u_int ioaddr_t;
#else
typedef u_short ioaddr_t;
#endif

/* for AdjustResourceInfo */
typedef struct adjust_t {
u_int Action;
Expand Down

0 comments on commit 054f8a8

Please sign in to comment.