mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
xen-pciback: use const and unsigned in bar_init()
Signed-off-by: Jan Beulich <[email protected]> Signed-off-by: David Vrabel <[email protected]>
This commit is contained in:
parent
c8670c22e0
commit
585203609c
1 changed files with 2 additions and 2 deletions
|
|
@ -211,8 +211,8 @@ static int bar_read(struct pci_dev *dev, int offset, u32 * value, void *data)
|
|||
|
||||
static void *bar_init(struct pci_dev *dev, int offset)
|
||||
{
|
||||
int pos;
|
||||
struct resource *res = dev->resource;
|
||||
unsigned int pos;
|
||||
const struct resource *res = dev->resource;
|
||||
struct pci_bar_info *bar = kzalloc(sizeof(*bar), GFP_KERNEL);
|
||||
|
||||
if (!bar)
|
||||
|
|
|
|||
Loading…
Reference in a new issue