]> Git Repo - qemu.git/blobdiff - hw/misc/omap_l4.c
hw/arm/allwinner-h3: add Clock Control Unit
[qemu.git] / hw / misc / omap_l4.c
index 245ceac84cd862dab8c9044796598b3448a8c072..61b6df564a4ccb56f476782fc7da0836c573adc7 100644 (file)
@@ -17,7 +17,7 @@
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
-#include "hw/hw.h"
+#include "qemu/osdep.h"
 #include "hw/arm/omap.h"
 
 struct omap_l4_s {
@@ -111,8 +111,8 @@ static const MemoryRegionOps omap_l4ta_ops = {
 
 struct omap_target_agent_s *omap_l4ta_get(struct omap_l4_s *bus,
         const struct omap_l4_region_s *regions,
-       const struct omap_l4_agent_info_s *agents,
-       int cs)
+        const struct omap_l4_agent_info_s *agents,
+        int cs)
 {
     int i;
     struct omap_target_agent_s *ta = NULL;
@@ -125,7 +125,7 @@ struct omap_target_agent_s *omap_l4ta_get(struct omap_l4_s *bus,
             break;
         }
     if (!ta) {
-        fprintf(stderr, "%s: bad target agent (%i)\n", __FUNCTION__, cs);
+        fprintf(stderr, "%s: bad target agent (%i)\n", __func__, cs);
         exit(-1);
     }
 
@@ -150,7 +150,7 @@ hwaddr omap_l4_attach(struct omap_target_agent_s *ta,
     hwaddr base;
 
     if (region < 0 || region >= ta->regions) {
-        fprintf(stderr, "%s: bad io region (%i)\n", __FUNCTION__, region);
+        fprintf(stderr, "%s: bad io region (%i)\n", __func__, region);
         exit(-1);
     }
 
This page took 0.025495 seconds and 4 git commands to generate.