Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114151
b: refs/heads/master
c: b60a5ed
h: refs/heads/master
i:
  114149: d80ef33
  114147: 9c4323e
  114143: ed6d66d
v: v3
  • Loading branch information
Dominik Brodowski committed Aug 25, 2008
1 parent 0292bf0 commit 0e73296
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 33 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: dc953e550bf1624a17465b9deb15487fdde98869
refs/heads/master: b60a5ede1e3a6a09a881c3ff014164fbe4d481b4
40 changes: 40 additions & 0 deletions trunk/drivers/pcmcia/cs_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,44 @@ struct resource *pcmcia_find_mem_region(u_long base,
int low,
struct pcmcia_socket *s);

/*
* Stuff internal to module "pcmcia".
*/
/* ds.c */
extern struct bus_type pcmcia_bus_type;

/* pcmcia_resource.c */
extern int pcmcia_release_configuration(struct pcmcia_device *p_dev);

#ifdef CONFIG_PCMCIA_IOCTL
/* ds.c */
extern spinlock_t pcmcia_dev_list_lock;

extern struct pcmcia_device *pcmcia_get_dev(struct pcmcia_device *p_dev);
extern void pcmcia_put_dev(struct pcmcia_device *p_dev);

struct pcmcia_device *pcmcia_device_add(struct pcmcia_socket *s,
unsigned int function);

/* pcmcia_ioctl.c */
extern void __init pcmcia_setup_ioctl(void);
extern void __exit pcmcia_cleanup_ioctl(void);
extern void handle_event(struct pcmcia_socket *s, event_t event);
extern int handle_request(struct pcmcia_socket *s, event_t event);

#else /* CONFIG_PCMCIA_IOCTL */

static inline void __init pcmcia_setup_ioctl(void) { return; }
static inline void __exit pcmcia_cleanup_ioctl(void) { return; }
static inline void handle_event(struct pcmcia_socket *s, event_t event)
{
return;
}
static inline int handle_request(struct pcmcia_socket *s, event_t event)
{
return 0;
}

#endif /* CONFIG_PCMCIA_IOCTL */

#endif /* _LINUX_CS_INTERNAL_H */
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include <pcmcia/ss.h>

#include "cs_internal.h"
#include "ds_internal.h"

/*====================================================================*/

Expand Down
29 changes: 0 additions & 29 deletions trunk/drivers/pcmcia/ds_internal.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pcmcia_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include <pcmcia/ss.h>

#include "cs_internal.h"
#include "ds_internal.h"

static int major_dev = -1;

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pcmcia_resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include <pcmcia/ds.h>

#include "cs_internal.h"
#include "ds_internal.h"


/* Access speed for IO windows */
Expand Down

0 comments on commit 0e73296

Please sign in to comment.