Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291775
b: refs/heads/master
c: bf362f7
h: refs/heads/master
i:
  291773: a657590
  291771: fa0aee7
  291767: 400536b
  291759: 66f35e2
  291743: 46f96cd
  291711: dcca023
v: v3
  • Loading branch information
Al Viro authored and Jiri Kosina committed Mar 19, 2012
1 parent 4e39ae7 commit fb09de9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 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: adfe39cd9195c35811e062578c4107db49d75436
refs/heads/master: bf362f750bea1372aff3b5c405b50560a1b28981
2 changes: 1 addition & 1 deletion trunk/arch/alpha/include/asm/machvec.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ struct alpha_machine_vector
void (*kill_arch)(int);

u8 (*pci_swizzle)(struct pci_dev *, u8 *);
int (*pci_map_irq)(struct pci_dev *, u8, u8);
int (*pci_map_irq)(const struct pci_dev *, u8, u8);
struct pci_ops *pci_ops;

struct _alpha_agp_info *(*agp_info)(void);
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/alpha/kernel/sys_dp264.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ clipper_init_irq(void)
*/

static int __init
isa_irq_fixup(struct pci_dev *dev, int irq)
isa_irq_fixup(const struct pci_dev *dev, int irq)
{
u8 irq8;

Expand Down
12 changes: 6 additions & 6 deletions trunk/include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -746,28 +746,28 @@ int pci_bus_write_config_dword(struct pci_bus *bus, unsigned int devfn,
int where, u32 val);
struct pci_ops *pci_bus_set_ops(struct pci_bus *bus, struct pci_ops *ops);

static inline int pci_read_config_byte(struct pci_dev *dev, int where, u8 *val)
static inline int pci_read_config_byte(const struct pci_dev *dev, int where, u8 *val)
{
return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val);
}
static inline int pci_read_config_word(struct pci_dev *dev, int where, u16 *val)
static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
{
return pci_bus_read_config_word(dev->bus, dev->devfn, where, val);
}
static inline int pci_read_config_dword(struct pci_dev *dev, int where,
static inline int pci_read_config_dword(const struct pci_dev *dev, int where,
u32 *val)
{
return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val);
}
static inline int pci_write_config_byte(struct pci_dev *dev, int where, u8 val)
static inline int pci_write_config_byte(const struct pci_dev *dev, int where, u8 val)
{
return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val);
}
static inline int pci_write_config_word(struct pci_dev *dev, int where, u16 val)
static inline int pci_write_config_word(const struct pci_dev *dev, int where, u16 val)
{
return pci_bus_write_config_word(dev->bus, dev->devfn, where, val);
}
static inline int pci_write_config_dword(struct pci_dev *dev, int where,
static inline int pci_write_config_dword(const struct pci_dev *dev, int where,
u32 val)
{
return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val);
Expand Down

0 comments on commit fb09de9

Please sign in to comment.