]> err.no Git - linux-2.6/commitdiff
[SPARC64] constify of_get_property return: include
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 Mar 2007 07:50:29 +0000 (00:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 08:54:30 +0000 (01:54 -0700)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc64/floppy.h
include/asm-sparc64/parport.h

index 331013a0053e667d55dddaef3870e7f6714421ab..4aa0925e1b1b6b784bf83850deb28a0be5b5e449 100644 (file)
@@ -549,7 +549,7 @@ static int __init ebus_fdthree_p(struct linux_ebus_device *edev)
        if (!strcmp(edev->prom_node->name, "fdthree"))
                return 1;
        if (!strcmp(edev->prom_node->name, "floppy")) {
-               char *compat;
+               const char *compat;
 
                compat = of_get_property(edev->prom_node,
                                         "compatible", NULL);
@@ -661,7 +661,7 @@ static unsigned long __init sun_floppy_init(void)
                struct linux_ebus_device *edev = NULL;
                unsigned long config = 0;
                void __iomem *auxio_reg;
-               char *state_prop;
+               const char *state_prop;
 
                for_each_ebus(ebus) {
                        for_each_ebusdev(edev, ebus) {
index 284dfd01a33d5421cc7c96a4035e3aae0b375e9a..6340a5253a347df28c3d7b0223fca8f791d51aa0 100644 (file)
@@ -103,7 +103,7 @@ static int ebus_ecpp_p(struct linux_ebus_device *edev)
        if (!strcmp(edev->prom_node->name, "ecpp"))
                return 1;
        if (!strcmp(edev->prom_node->name, "parallel")) {
-               char *compat;
+               const char *compat;
 
                compat = of_get_property(edev->prom_node,
                                         "compatible", NULL);