Skip to content

Commit

Permalink
[POWERPC] iSeries: Fix section mismatch in viodsasd
Browse files Browse the repository at this point in the history
WARNING: vmlinux.o(.text+0x3017c): Section mismatch in reference from the function .vio_create_viodasd() to the function .devinit.text:.vio_register_device_node()

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Feb 6, 2008
1 parent c6d0117 commit de7d812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static void __devinit vio_dev_release(struct device *dev)
* Returns a pointer to the created vio_dev or NULL if node has
* NULL device_type or compatible fields.
*/
struct vio_dev * __devinit vio_register_device_node(struct device_node *of_node)
struct vio_dev *vio_register_device_node(struct device_node *of_node)
{
struct vio_dev *viodev;
const unsigned int *unit_address;
Expand Down
2 changes: 1 addition & 1 deletion include/asm-powerpc/vio.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ extern void __devinit vio_unregister_device(struct vio_dev *dev);

struct device_node;

extern struct vio_dev * __devinit vio_register_device_node(
extern struct vio_dev *vio_register_device_node(
struct device_node *node_vdev);
extern const void *vio_get_attribute(struct vio_dev *vdev, char *which,
int *length);
Expand Down

0 comments on commit de7d812

Please sign in to comment.